diff --git a/index.php b/index.php index 103eed2..b20a132 100644 --- a/index.php +++ b/index.php @@ -17,7 +17,7 @@ // // -none- // -if (file_exists(realpath("./config.inc.php"))) { +if (file_exists(realpath("./conf.php"))) { header ("Location: login.php"); exit; } else { diff --git a/setup.php b/setup.php index 5b6c809..351aef7 100644 --- a/setup.php +++ b/setup.php @@ -6,8 +6,8 @@ */ // Check whether the configuration file exists - bail if that is the case -if (file_exists(realpath("./config.inc.php"))) { - print 'It seems that config.inc.php is already configured. Please delete setup.php to continue.'; +if (file_exists(realpath("./conf.php"))) { + print 'It seems that conf.php is already configured. Please delete setup.php to continue.'; die(); } // Define the app specifics