mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 19:53:56 +00:00
Update install.php
This commit is contained in:
@@ -185,8 +185,7 @@
|
|||||||
require_once "resources/require.php";
|
require_once "resources/require.php";
|
||||||
|
|
||||||
//add the database schema
|
//add the database schema
|
||||||
$included = true;
|
$output = shell_exec('cd '.$_SERVER["DOCUMENT_ROOT"].' && php /var/www/fusionpbx/core/upgrade/upgrade_schema.php');
|
||||||
require_once "core/upgrade/upgrade_schema.php";
|
|
||||||
|
|
||||||
//get the domain name
|
//get the domain name
|
||||||
$domain_name = $_SESSION['install']['domain_name'];
|
$domain_name = $_SESSION['install']['domain_name'];
|
||||||
@@ -237,8 +236,7 @@
|
|||||||
$_SESSION['domain_name'] = $domain_name;
|
$_SESSION['domain_name'] = $domain_name;
|
||||||
|
|
||||||
//app defaults
|
//app defaults
|
||||||
$included = true;
|
$output = shell_exec('cd '.$_SERVER["DOCUMENT_ROOT"].' && php /var/www/fusionpbx/core/upgrade/upgrade_domains.php');
|
||||||
require_once "core/upgrade/upgrade_domains.php";
|
|
||||||
|
|
||||||
//prepare the user settings
|
//prepare the user settings
|
||||||
$admin_username = $_SESSION['install']['admin_username'];
|
$admin_username = $_SESSION['install']['admin_username'];
|
||||||
@@ -334,7 +332,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#app defaults
|
#app defaults
|
||||||
require_once "core/upgrade/upgrade_domains.php";
|
$output = shell_exec('cd '.$_SERVER["DOCUMENT_ROOT"].' && php /var/www/fusionpbx/core/upgrade/upgrade_domains.php');
|
||||||
|
|
||||||
//install completed
|
//install completed
|
||||||
//restart the server
|
//restart the server
|
||||||
|
|||||||
Reference in New Issue
Block a user