diff --git a/control.php b/control.php index 5d8d652..06e50bc 100644 --- a/control.php +++ b/control.php @@ -36,7 +36,7 @@ * */ -// +// check if system has been installed require_once("setup/wizard/install_util.php"); // Check if system has been installed $iu = new InstallUtil(); diff --git a/setup/wizard/index.php b/setup/wizard/index.php index fcdfc41..02121f1 100755 --- a/setup/wizard/index.php +++ b/setup/wizard/index.php @@ -41,19 +41,13 @@ */ require_once("install_util.php"); $ui = new InstallUtil(); - $bypass = false; // Bypass -// if(isset($_GET['bypass'])) { -// $bypass = $_GET['bypass']; -// $_SESSION['bypass'] = $bypass; -// } - -// if(isset($_SESSION['bypass'])) { -// -// $bypass = $_SESSION['bypass']; -// } + if(isset($_GET['bypass'])) { + if($_GET['bypass']) + touch("install"); + } - if(!$ui->isSystemInstalled() || $bypass) { + if(!$ui->isSystemInstalled()) { require("installer.php"); } else { echo "System has been installed Goto Login";