浏览代码

Update install.php

FusionPBX 6 年之前
父节点
当前提交
2906838df6
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      core/install/install.php

+ 3 - 3
core/install/install.php

@@ -181,12 +181,12 @@
 			unset($config);
 			unset($config);
 			fclose($fout);
 			fclose($fout);
 
 
-			//includes - this includes the config.php
-			require_once "resources/require.php";
-
 			//add the database schema
 			//add the database schema
 			$output = shell_exec('cd '.$_SERVER["DOCUMENT_ROOT"].' && php /var/www/fusionpbx/core/upgrade/upgrade_schema.php');
 			$output = shell_exec('cd '.$_SERVER["DOCUMENT_ROOT"].' && php /var/www/fusionpbx/core/upgrade/upgrade_schema.php');
 
 
+			//includes - this includes the config.php
+			require_once "resources/require.php";
+
 			//get the domain name
 			//get the domain name
 			$domain_name = $_SESSION['install']['domain_name'];
 			$domain_name = $_SESSION['install']['domain_name'];