Testing config_db.php on start.
authorJanusz Dobrowolski <janusz@frontaccounting.eu>
Sat, 7 Aug 2010 10:00:34 +0000 (10:00 +0000)
committerJanusz Dobrowolski <janusz@frontaccounting.eu>
Sat, 7 Aug 2010 10:00:34 +0000 (10:00 +0000)
index.php

index d8fd05421353ee852727eb78d1e2816083fe6cc7..52bf999d135804bd2d49acf7f0689fc24f6bc862 100644 (file)
--- a/index.php
+++ b/index.php
@@ -10,7 +10,7 @@
     See the License here <http://www.gnu.org/licenses/gpl-3.0.html>.
 ***********************************************************************/
        $path_to_root=".";
-       if (!file_exists($path_to_root.'/config.php'))
+       if (!file_exists($path_to_root.'/config_db.php'))
                header("Location: ".$path_to_root."/install/index.php");
 
        $page_security = 'SA_OPEN';