diff --git a/core/install/install.php b/core/install/install.php index 0c4581abf9..9f6511faa8 100644 --- a/core/install/install.php +++ b/core/install/install.php @@ -181,12 +181,12 @@ unset($config); fclose($fout); - //includes - this includes the config.php - require_once "resources/require.php"; - //add the database schema $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 $domain_name = $_SESSION['install']['domain_name'];