X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=index.php;h=6f011e7e5bba37bcf7a0dce17765a75625c9ca6d;hb=8f776ec12d4a6c73a1e65e8732bf12a583eb2445;hp=049d46afceea1ff567956e7bdaaed50d76427da8;hpb=7aa201fa5285d8dfe31ab6f254bfaa9819c65285;p=quix0rs-gnu-social.git diff --git a/index.php b/index.php index 049d46afce..6f011e7e5b 100644 --- a/index.php +++ b/index.php @@ -204,7 +204,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'] != '/') {