diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-07-30 14:57:04 -0400 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-07-30 14:57:04 -0400 |
commit | e9ac70bfa76bf17e60936cf59c4e0ef13efbda82 (patch) | |
tree | 27f6e8ccf7fa1883d8511e5e4dc02e6749094c43 /index.php | |
parent | 2b834d04d9d57db0709b829260cae87aae9136f3 (diff) | |
parent | 63e8f15448ac2cfb5217ddd96bb95821b6f106c5 (diff) |
Merge branch '0.8.x' of git@gitorious.org:laconica/mainline into 0.8.x
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |