mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Update the to point to app/switch/resources/conf
This commit is contained in:
@@ -52,7 +52,7 @@ if ($domains_processed == 1) {
|
||||
if ($num_rows == 0) {
|
||||
|
||||
//set the alternate directory
|
||||
$xml_file_alt = $_SERVER["DOCUMENT_ROOT"].'/'.PROJECT_PATH.'/resources/templates/conf/autoload_configs/local_stream.conf';
|
||||
$xml_file_alt = $_SERVER["DOCUMENT_ROOT"].'/'.PROJECT_PATH.'/app/switch/resources/conf/autoload_configs/local_stream.conf';
|
||||
|
||||
//load the xml and save it into an array
|
||||
if (file_exists($xml_file)) {
|
||||
|
||||
@@ -208,7 +208,7 @@ if (!class_exists('switch_music_on_hold')) {
|
||||
$file_contents = file_get_contents("/usr/share/examples/fusionpbx/resources/templates/conf/autoload_configs/local_stream.conf.xml");
|
||||
}
|
||||
else {
|
||||
$file_contents = file_get_contents($_SERVER["PROJECT_ROOT"]."/resources/templates/conf/autoload_configs/local_stream.conf.xml");
|
||||
$file_contents = file_get_contents($_SERVER["PROJECT_ROOT"]."/app/switch/resources/conf/autoload_configs/local_stream.conf.xml");
|
||||
}
|
||||
//check where the default music is stored
|
||||
$default_moh_prefix = 'music/default';
|
||||
|
||||
Reference in New Issue
Block a user