From: Robin Millette Date: Mon, 25 May 2009 16:49:32 +0000 (+0000) Subject: Small bugfix to installer fixing fancy URL detection. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=01ce677ae399874e81dc21991faf821a539fa00a;p=quix0rs-gnu-social.git Small bugfix to installer fixing fancy URL detection. --- diff --git a/index.php b/index.php index 9ff1c2c56a..c2972ec5fe 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 (isset($_SERVER['REDIRECT_URL']) && ('/check-fancy' === $_SERVER['REDIRECT_URL'])) { + if (isset($_SERVER['REDIRECT_URL']) && ((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, $config; diff --git a/install.php b/install.php index 1d411c2218..133f2b30f6 100644 --- a/install.php +++ b/install.php @@ -116,16 +116,16 @@ function showForm() disable

Enable fancy (pretty) URLs. Auto-detection failed, it depends on Javascript.

-
  • - - -

    Database hostname

    -
  • Site path, following the "/" after the domain name in the URL. Empty is fine. Field should be filled automatically.

  • +
  • + + +

    Database hostname

    +