Browse Source

Run upgrade to call app defaults.

markjcrane 9 years ago
parent
commit
8036079d39
1 changed files with 5 additions and 0 deletions
  1. 5 0
      core/install/resources/classes/install_switch.php

+ 5 - 0
core/install/resources/classes/install_switch.php

@@ -98,6 +98,11 @@ include "root.php";
 		function install_phase_2() {
 			$this->write_progress("Install phase 2 started for switch");
 			//$this->create_config_lua();
+
+			//run all app_defaults.php files
+			$domain = new domains;
+			$domain->upgrade();
+
 			$this->restart_switch();
 			$this->write_progress("Install phase 2 completed for switch");
 		}