]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - index.php
Refactored new sections code to proper classes and added notice link to links in...
[quix0rs-gnu-social.git] / index.php
index cfef2118968174394ccd893ad7a86b422a97549b..1b4fbf81baf8ceb5f3cc63241e7323ef554c9509 100644 (file)
--- 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;