From f54f1e6fc50f8a3d718cc5bed923c167ac7ae00c Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 12 Oct 2022 10:41:49 -0600 Subject: [PATCH] Replace config.php with config.conf --- core/install/install.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/install/install.php b/core/install/install.php index 608cf9ed1e..9b1cac4670 100644 --- a/core/install/install.php +++ b/core/install/install.php @@ -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";