From d3c4fa011d5030c38b89bae884ba58d0225189e4 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 12 Oct 2022 10:46:19 -0600 Subject: [PATCH] Update index.php --- index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.php b/index.php index 99043aed86..5919c7709a 100644 --- a/index.php +++ b/index.php @@ -32,10 +32,10 @@ ini_set("session.cookie_httponly", True); if (!isset($_SESSION)) { session_start(); } -//if config.php file does not exist then redirect to the install page - if (file_exists("/usr/local/etc/fusionpbx/config.conf")){ +//if config.conf file does not exist then redirect to the install page + if (file_exists("/usr/local/etc/fusionpbx/config.conf")) { //BSD - } elseif (file_exists("/etc/fusionpbx/config.conf")){ + } elseif (file_exists("/etc/fusionpbx/config.conf")) { //Linux } else { header("Location: ".PROJECT_PATH."/core/install/install.php");