commit f4071a612a8e81c1c3577e75ecb42e5b21fdb806 from: mischa date: Sun Sep 04 20:35:55 2022 UTC change check frmo config.inc.php to conf.php commit - 555cc197a4870b03316dff30b9b27bae8cf76ccc commit + f4071a612a8e81c1c3577e75ecb42e5b21fdb806 blob - 103eed2a90dd3759700125e7fb483d67f97d1312 blob + b20a132ede3c1d2cc689f818802d4d0a46f5c84e --- index.php +++ 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 { blob - 5b6c8099f4783ec61bc522ed31c16682805d6ae7 blob + 351aef70d6aebd9ba1fc5ad16bf37229fc71d5ab --- setup.php +++ 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