summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorRobin Millette <millette@controlyourself.ca>2009-05-17 22:06:08 -0400
committerRobin Millette <millette@controlyourself.ca>2009-05-17 22:06:08 -0400
commit5897dfa4c37d6a44bcde5dc7569c8b0d30f21b84 (patch)
tree6e882a25153ec071b4aa119bfdbd705ff51e2c90 /index.php
parenta325144fa0ba769de1cdb554cac04e0116912b66 (diff)
Refactored new sections code to proper classes and added notice link to links in notice sections.
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 cfef21189..1b4fbf81b 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 ('/check-fancy' === $_SERVER['REDIRECT_URL']) {
+ if (isset($_SERVER['REDIRECT_URL']) && ('/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;