/[drupal]/contributions/modules/path_redirect/path_redirect.module
ViewVC logotype

Diff of /contributions/modules/path_redirect/path_redirect.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.3.2.7.2.47, Thu Apr 30 15:37:03 2009 UTC revision 1.3.2.7.2.48, Fri May 1 04:31:17 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: path_redirect.module,v 1.3.2.7.2.46 2009/03/17 20:51:27 davereid Exp $  // $Id: path_redirect.module,v 1.3.2.7.2.47 2009/04/30 15:37:03 davereid Exp $
3    
4  if (!defined('REQUEST_TIME')) {  if (!defined('REQUEST_TIME')) {
5    define('REQUEST_TIME', time());    define('REQUEST_TIME', time());
# Line 335  function _path_redirect_split_path($path Line 335  function _path_redirect_split_path($path
335      $path = preg_replace('/&/', '?', $path, 1);      $path = preg_replace('/&/', '?', $path, 1);
336    }    }
337    
338    $parsed = parse_ul($path);    $parsed = parse_url($path);
339    $result = array(    $result = array(
340      'path' => preg_replace('/[\?\#].*$/', '', $path),      'path' => preg_replace('/[\?\#].*$/', '', $path),
341      'query' => $parsed['query'],      'query' => $parsed['query'],

Legend:
Removed from v.1.3.2.7.2.47  
changed lines
  Added in v.1.3.2.7.2.48

  ViewVC Help
Powered by ViewVC 1.1.2