diff options
author | Robin Millette <millette@controlyourself.ca> | 2009-05-25 16:49:32 +0000 |
---|---|---|
committer | Robin Millette <millette@controlyourself.ca> | 2009-05-25 16:49:32 +0000 |
commit | 01ce677ae399874e81dc21991faf821a539fa00a (patch) | |
tree | efac0f02a9e0cab70a97da789c07277d4041b743 /index.php | |
parent | 84edf12791dc3d44625b156cda6296f1f74f8a9d (diff) |
Small bugfix to installer fixing fancy URL detection.
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |