Browse Source

Add the settings method to the upgrade method.

FusionPBX 8 years ago
parent
commit
5c45876a86
1 changed files with 3 additions and 0 deletions
  1. 3 0
      resources/classes/domains.php

+ 3 - 0
resources/classes/domains.php

@@ -228,6 +228,9 @@ if (!class_exists('domains')) {
 			//get the PROJECT PATH
 			//get the PROJECT PATH
 				include "root.php";
 				include "root.php";
 
 
+			//check for default settings
+				$this->settings();
+
 			//get the list of installed apps from the core and app directories (note: GLOB_BRACE doesn't work on some systems)
 			//get the list of installed apps from the core and app directories (note: GLOB_BRACE doesn't work on some systems)
 				$config_list_1 = glob($_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."/*/*/app_config.php");
 				$config_list_1 = glob($_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."/*/*/app_config.php");
 				$config_list_2 = glob($_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."/*/*/app_menu.php");
 				$config_list_2 = glob($_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."/*/*/app_menu.php");