From: Janusz Dobrowolski Date: Tue, 20 Oct 2009 21:45:32 +0000 (+0000) Subject: Moving control to install wizard when config file does not exists. X-Git-Tag: v2.4.2~19^2~1118 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=dd16990fa4fc3ed8698ebf8ac85743d36a89ff3b;hp=7edbdeea090a97a1ac4402161d869113c9f806e6;p=fa-stable.git Moving control to install wizard when config file does not exists. --- 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");