mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-02-19 01:25:09 +00:00
During the install check for /etc/freeswitch/vars.xml before using it
This commit is contained in:
@@ -166,7 +166,7 @@ require_once "resources/functions.php";
|
||||
$switch_sip_profiles_dir = $switch_conf_dir.'/sip_profiles';
|
||||
$switch_dialplan_dir = $switch_conf_dir.'/dialplan';
|
||||
}
|
||||
if (file_exists('/etc/freeswitch')) {
|
||||
if (file_exists('/etc/freeswitch/vars.xml')) {
|
||||
$switch_conf_dir = '/etc/freeswitch';
|
||||
$switch_extensions_dir = $switch_conf_dir.'/directory';
|
||||
$switch_sip_profiles_dir = $switch_conf_dir.'/sip_profiles';
|
||||
|
||||
Reference in New Issue
Block a user