From 8eba8c2815dcffcc2206427b32ab3e9363592735 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 22 Aug 2016 20:04:23 -0600 Subject: [PATCH] Update app_defaults.php Fix the file renaming for local_stream.conf.xml and .noload --- app/music_on_hold/app_defaults.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/music_on_hold/app_defaults.php b/app/music_on_hold/app_defaults.php index 2ebebc91b3..191b411c10 100644 --- a/app/music_on_hold/app_defaults.php +++ b/app/music_on_hold/app_defaults.php @@ -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