소스 검색

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.

markjcrane 9 년 전
부모
커밋
5c3e98a5c8
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      resources/classes/domains.php

+ 3 - 3
resources/classes/domains.php

@@ -330,10 +330,10 @@
 				if (function_exists('save_dialplan_xml')) {
 				if (function_exists('save_dialplan_xml')) {
 					save_dialplan_xml();
 					save_dialplan_xml();
 				}
 				}
+
 			//update config.lua
 			//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
 			//clear the session variables
 				unset($_SESSION['domain']);
 				unset($_SESSION['domain']);