On windows force to / instead of the backslash \ as path. This fixes a problem where recording c:\pathtofusionpbx\recordings fails because the \r gets understood as a carriage return in the session:record in FreeSWITCH.

This commit is contained in:
markjcrane
2016-03-24 15:02:04 -06:00
parent 785071cde6
commit 83edd6a7fd
2 changed files with 11 additions and 6 deletions
+3 -3
View File
@@ -330,10 +330,10 @@
if (function_exists('save_dialplan_xml')) {
save_dialplan_xml();
}
//update config.lua
require_once "core/install/resources/classes/install_switch.php";
$switch = new install_switch;
$switch->create_config_lua();
$obj = new scripts;
$obj->write_config();
//clear the session variables
unset($_SESSION['domain']);