Update install.php

This commit is contained in:
FusionPBX 2022-10-22 18:39:03 -06:00 committed by GitHub
parent a0e3cd1268
commit dd87f510c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 26 additions and 24 deletions

View File

@ -96,7 +96,8 @@
//linux //linux
$config_path = "/etc/fusionpbx"; $config_path = "/etc/fusionpbx";
} }
if (isset($config_path) && is_writable($config_path)) { if (isset($config_path)) {
if (is_writable($config_path)) {
//include the config.php file //include the config.php file
include $config_path.'/config.php'; include $config_path.'/config.php';
@ -122,6 +123,7 @@
exit; exit;
} }
} }
}
//process and save the data //process and save the data
if (count($_POST) > 0) { if (count($_POST) > 0) {