projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7edbdee
)
Moving control to install wizard when config file does not exists.
author
Janusz Dobrowolski
<janusz@frontaccounting.eu>
Tue, 20 Oct 2009 21:45:32 +0000
(21:45 +0000)
committer
Janusz Dobrowolski
<janusz@frontaccounting.eu>
Tue, 20 Oct 2009 21:45:32 +0000
(21:45 +0000)
index.php
patch
|
blob
|
history
diff --git
a/index.php
b/index.php
index ab6764f0204a0dcb10a26091027f3c7ce6085b45..d8fd05421353ee852727eb78d1e2816083fe6cc7 100644
(file)
--- a/
index.php
+++ b/
index.php
@@
-10,6
+10,9
@@
See the License here <http://www.gnu.org/licenses/gpl-3.0.html>.
***********************************************************************/
$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");