change check frmo config.inc.php to conf.php

This commit is contained in:
mischa 2022-09-04 20:35:55 +00:00
parent 555cc197a4
commit f4071a612a
2 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@
//
// -none-
//
if (file_exists(realpath("./config.inc.php"))) {
if (file_exists(realpath("./conf.php"))) {
header ("Location: login.php");
exit;
} else {

View File

@ -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