New web based installer to simplify installation install.php will now redirect and exit if config.php exists

Updated install docs
This commit is contained in:
laf
2014-02-02 15:05:29 +00:00
parent e80f8f33a6
commit fbc9178d1d
6 changed files with 563 additions and 5 deletions
+7
View File
@@ -18,6 +18,13 @@ include_once("../includes/definitions.inc.php");
include("../includes/functions.php");
include("includes/functions.inc.php");
// Check for install.inc.php
if (!file_exists('../config.php') && $_SERVER['PATH_INFO'] != '/install.php') {
// no config.php does so let's redirect to the install
header('Location: /install.php');
exit;
}
$runtime_start = utime();
ob_start();