summaryrefslogtreecommitdiff
path: root/installer/index.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-01-19 20:20:10 +0000
committerBharat Mediratta <bharat@menalto.com>2009-01-19 20:20:10 +0000
commitd51955c8efa78d7f0a0ca8c138c2eebaf5ecb975 (patch)
tree7dcf92fc6e7d2fa0ce4b5182a9477e13ed6441ed /installer/index.php
parentf5997a02e0b78b56b8c27ccb48092e4cdd9430d7 (diff)
Pull the environment check out into a separate web page to simplify
the CLI installer. Put a link to it in the footer of every web install page. Don't allow users to run it if Gallery 3 is already installed.
Diffstat (limited to 'installer/index.php')
-rw-r--r--installer/index.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/installer/index.php b/installer/index.php
index 19b99735..90beb4f9 100644
--- a/installer/index.php
+++ b/installer/index.php
@@ -34,6 +34,10 @@ require(DOCROOT . "installer/installer.php");
if (php_sapi_name() == "cli") {
installer::command_line();
} else {
- installer::web();
+ if ($_GET["page"] == "check") {
+ include("check.html.php");
+ } else {
+ installer::web();
+ }
}