X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=index.php;h=f8b200a58a0df35f7ee1bdd0bcea8a3f489e5461;hb=934ae38acd4c9152141ab5559d5e698a8a33645c;hp=5a08aa07825c4d11b87a2e726c81c1db5be8b4ee;hpb=568cb8a2058c9a66c194c31bc7672ee610c61e2c;p=quix0rs-gnu-social.git diff --git a/index.php b/index.php index 5a08aa0782..f8b200a58a 100644 --- 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'] != '/') {