summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorRobin Millette <millette@controlyourself.ca>2009-05-17 00:05:07 -0400
committerRobin Millette <millette@controlyourself.ca>2009-05-17 00:05:07 -0400
commitf3ea79a12a7bdf0d4efcd7eb706d25ae81b7fad9 (patch)
tree25969f470aebf06ae12fa8c587e463185cafd9da /index.php
parent6c4e26fe61a3c1cada4775a42a929eb884150b2d (diff)
Added site path field to installer + fancy URL javascript auto-detection.
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/index.php b/index.php
index e24bde917..cfef21189 100644
--- 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 ('/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()) {