Browse Source

made reference to install resource literal

Matthew Vale 9 years ago
parent
commit
bcda4ea2bc
1 changed files with 4 additions and 0 deletions
  1. 4 0
      resources/classes/domains.php

+ 4 - 0
resources/classes/domains.php

@@ -369,6 +369,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();
 
 			//clear the session variables
 				unset($_SESSION['domain']);