]> 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 e24bde9179fd884a220b05f26f170a06914b07b5..1b4fbf81baf8ceb5f3cc63241e7323ef554c9509 100644 (file)
--- a/index.php
+++ b/index.php
@@ -63,6 +63,10 @@ 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'])) {
+        die("Fancy URL support detection succeeded. We suggest you enable this to get fancy (pretty) URLs.");
+    }
     global $user, $action, $config;
 
     if (!_have_config()) {