Replace config.php with config.conf

This commit is contained in:
FusionPBX 2022-10-12 10:41:49 -06:00 committed by GitHub
parent 2bcf6743a5
commit f54f1e6fc5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -68,13 +68,13 @@
//if the config file exists then disable the install page
$config_exists = false;
if (file_exists($_SERVER['DOCUMENT_ROOT'].PROJECT_PATH."/resources/config.php")) {
if (file_exists("/usr/local/etc/fusionpbx/config.conf")) {
//bsd
$config_exists = true;
} elseif (file_exists("/etc/fusionpbx/config.php")) {
}
elseif (file_exists("/etc/fusionpbx/config.conf")) {
//linux
$config_exists = true;
} elseif (file_exists("/usr/local/etc/fusionpbx/config.php")) {
$config_exists = true;
}
if ($config_exists) {
$msg .= "Already Installed";