change check frmo config.inc.php to conf.php
This commit is contained in:
parent
555cc197a4
commit
f4071a612a
|
@ -17,7 +17,7 @@
|
||||||
//
|
//
|
||||||
// -none-
|
// -none-
|
||||||
//
|
//
|
||||||
if (file_exists(realpath("./config.inc.php"))) {
|
if (file_exists(realpath("./conf.php"))) {
|
||||||
header ("Location: login.php");
|
header ("Location: login.php");
|
||||||
exit;
|
exit;
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Check whether the configuration file exists - bail if that is the case
|
// Check whether the configuration file exists - bail if that is the case
|
||||||
if (file_exists(realpath("./config.inc.php"))) {
|
if (file_exists(realpath("./conf.php"))) {
|
||||||
print 'It seems that config.inc.php is already configured. Please delete setup.php to continue.';
|
print 'It seems that conf.php is already configured. Please delete setup.php to continue.';
|
||||||
die();
|
die();
|
||||||
}
|
}
|
||||||
// Define the app specifics
|
// Define the app specifics
|
||||||
|
|
Loading…
Reference in New Issue