From f4071a612a8e81c1c3577e75ecb42e5b21fdb806 Mon Sep 17 00:00:00 2001 From: mischa Date: Sun, 4 Sep 2022 20:35:55 +0000 Subject: [PATCH] change check frmo config.inc.php to conf.php --- index.php | 2 +- setup.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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