summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@csarven-laptop.(none)>2009-05-25 12:55:17 -0400
committerSarven Capadisli <csarven@csarven-laptop.(none)>2009-05-25 12:55:17 -0400
commitb7d051280e41117d800b7d0e0429cc75eb38d0f5 (patch)
treeefac0f02a9e0cab70a97da789c07277d4041b743 /index.php
parent31743dd36807e520702c29973eacd067717a74b7 (diff)
parent01ce677ae399874e81dc21991faf821a539fa00a (diff)
Merge branch '0.8.x' of git://gitorious.org/laconica/dev into 0.8.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 9ff1c2c56..c2972ec5f 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;