Changeset - 5608907ef402
[Not reviewed]
default
0 1 0
Nathan Brink (binki) - 14 years ago 2012-02-09 21:05:16
ohnobinki@ohnopublishing.net
Fix regression in 4d7bb7e8bc2e which caused redirection to the parent directory of slate_permutate.
1 file changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
inc/class.page.php
Show inline comments
 
@@ -655,7 +655,8 @@ class page
 
	  $base_uri = $proto . '://' . $host;
 
	  if ($port !== NULL)
 
	    $base_uri .= ':' . $port;
 
	  $base_uri .= dirname($_SERVER['REQUEST_URI']) . '/';
 
	  list($base_request_uri) = explode('?', $_SERVER['REQUEST_URI'], 2);
 
	  $base_uri .= substr($base_request_uri, 0, strrpos($base_request_uri, '/')) . '/';
 
	}
 

	
 
    if (empty($base_uri) && empty($uri))
0 comments (0 inline, 0 general)