X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=index.php;h=c2972ec5fe0b7c5da12277bf40a78340e8d59702;hb=01ce677ae399874e81dc21991faf821a539fa00a;hp=9ff1c2c56aac54cd385f416ba07953497cf5f8b8;hpb=8d68c5238dfed8872e8ef3bf128d018cc974cdab;p=quix0rs-gnu-social.git diff --git a/index.php b/index.php index 9ff1c2c56a..c2972ec5fe 100644 --- a/index.php +++ b/index.php @@ -64,7 +64,7 @@ function handleError($error) function main() { // quick check for fancy URL auto-detection support in installer. - if (isset($_SERVER['REDIRECT_URL']) && ('/check-fancy' === $_SERVER['REDIRECT_URL'])) { + if (isset($_SERVER['REDIRECT_URL']) && ((dirname($_SERVER['REQUEST_URI']) . '/check-fancy') === $_SERVER['REDIRECT_URL'])) { die("Fancy URL support detection succeeded. We suggest you enable this to get fancy (pretty) URLs."); } global $user, $action, $config;