summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorEric Helgeson <erichelgeson@gmail.com>2009-08-03 18:11:06 -0500
committerEric Helgeson <erichelgeson@gmail.com>2009-08-03 18:11:06 -0500
commit0853ed069bb0b323d02cc8fe533ae82c87f68de5 (patch)
tree7ef1445197a5716d15a1ba40a1da6d6dc09b720f /index.php
parent9e611b40c643af9f40b9ef84e02b859205943745 (diff)
parentff6e976d0315c57fc5b7e31845e9a3bad4f095bc (diff)
Merge commit 'origin/0.8.x' into 0.9.x
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 69c0bc1b2..a73983b59 100644
--- a/index.php
+++ b/index.php
@@ -108,7 +108,7 @@ function checkMirror($action_obj)
function main()
{
// quick check for fancy URL auto-detection support in installer.
- if (isset($_SERVER['REDIRECT_URL']) && ((dirname($_SERVER['REQUEST_URI']) . '/check-fancy') === $_SERVER['REDIRECT_URL'])) {
+ if (isset($_SERVER['REDIRECT_URL']) && (preg_replace("/^\/$/","",(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;