Fix for BSDs core classes (#7051)

This commit is contained in:
Antonio Fernandez 2024-07-14 11:51:20 -04:00 committed by GitHub
parent 42a3969836
commit 541db7b5c9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions

View File

@ -35,7 +35,10 @@ if (!class_exists('install')) {
//set the default config file location
$os = strtoupper(substr(PHP_OS, 0, 3));
switch ($os) {
case "BSD":
case "FRE":
case "OPE":
case "NET":
case "BSD":
$config_path = '/usr/local/etc/fusionpbx';
$config_file = $config_path.'/config.conf';
$document_root = '/usr/local/www/fusionpbx';