From dd16990fa4fc3ed8698ebf8ac85743d36a89ff3b Mon Sep 17 00:00:00 2001 From: Janusz Dobrowolski Date: Tue, 20 Oct 2009 21:45:32 +0000 Subject: [PATCH 1/1] Moving control to install wizard when config file does not exists. --- index.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.php b/index.php index ab6764f0..d8fd0542 100644 --- a/index.php +++ b/index.php @@ -10,6 +10,9 @@ See the License here . ***********************************************************************/ $path_to_root="."; + if (!file_exists($path_to_root.'/config.php')) + header("Location: ".$path_to_root."/install/index.php"); + $page_security = 'SA_OPEN'; ini_set('xdebug.auto_trace',1); include_once("includes/session.inc"); -- 2.30.2