Fix for BSDs core classes (#7051)
This commit is contained in:
parent
42a3969836
commit
541db7b5c9
|
|
@ -35,7 +35,10 @@ if (!class_exists('install')) {
|
||||||
//set the default config file location
|
//set the default config file location
|
||||||
$os = strtoupper(substr(PHP_OS, 0, 3));
|
$os = strtoupper(substr(PHP_OS, 0, 3));
|
||||||
switch ($os) {
|
switch ($os) {
|
||||||
case "BSD":
|
case "FRE":
|
||||||
|
case "OPE":
|
||||||
|
case "NET":
|
||||||
|
case "BSD":
|
||||||
$config_path = '/usr/local/etc/fusionpbx';
|
$config_path = '/usr/local/etc/fusionpbx';
|
||||||
$config_file = $config_path.'/config.conf';
|
$config_file = $config_path.'/config.conf';
|
||||||
$document_root = '/usr/local/www/fusionpbx';
|
$document_root = '/usr/local/www/fusionpbx';
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue