From d51955c8efa78d7f0a0ca8c138c2eebaf5ecb975 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Mon, 19 Jan 2009 20:20:10 +0000 Subject: 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. --- installer/index.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'installer/index.php') 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(); + } } -- cgit v1.2.3