Update app_defaults.php

Fix the file renaming for local_stream.conf.xml and .noload
This commit is contained in:
FusionPBX
2016-08-22 20:04:23 -06:00
committed by GitHub
parent bf760cb0d1
commit 8eba8c2815

View File

@@ -32,10 +32,10 @@
//rename the file
if (file_exists($xml_dir.'/local_stream.conf.xml')) {
rename($xml_dir.'/local_stream.conf.xml', $xml_dir.'/'.$xml_file);
rename($xml_dir.'/local_stream.conf', $xml_dir.'/'.$xml_file);
}
if (file_exists($xml_dir.'/local_stream.conf.xml.noload')) {
rename($xml_dir.'/local_stream.conf.xml.noload', $xml_dir.'/'.$xml_file);
rename($xml_dir.'/local_stream.conf', $xml_dir.'/'.$xml_file);
}
//add the music_on_hold list to the database