]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - index.php
Merge branch '0.9.x' into 1.0.x
[quix0rs-gnu-social.git] / index.php
index 5a08aa07825c4d11b87a2e726c81c1db5be8b4ee..f8b200a58a0df35f7ee1bdd0bcea8a3f489e5461 100644 (file)
--- a/index.php
+++ b/index.php
@@ -219,7 +219,7 @@ function main()
 {
     // fake HTTP redirects using lighttpd's 404 redirects
     if (strpos($_SERVER['SERVER_SOFTWARE'], 'lighttpd') !== false) {
-        $_lighty_url = $base_url.$_SERVER['REQUEST_URI'];
+        $_lighty_url = $_SERVER['REQUEST_URI'];
         $_lighty_url = @parse_url($_lighty_url);
 
         if ($_lighty_url['path'] != '/index.php' && $_lighty_url['path'] != '/') {