change check frmo config.inc.php to conf.php
This commit is contained in:
parent
555cc197a4
commit
f4071a612a
|
@ -17,7 +17,7 @@
|
|||
//
|
||||
// -none-
|
||||
//
|
||||
if (file_exists(realpath("./config.inc.php"))) {
|
||||
if (file_exists(realpath("./conf.php"))) {
|
||||
header ("Location: login.php");
|
||||
exit;
|
||||
} else {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue