mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
moved fusionPBX install after switch install
This commit is contained in:
@@ -294,7 +294,6 @@ if(!$install_step) { $install_step = 'select_language'; }
|
||||
require_once "resources/classes/install_fusionpbx.php";
|
||||
$fusionPBX = new install_fusionpbx($domain_name, null, $switch_detect);
|
||||
$domain_uuid = $fusionPBX->domain_uuid();
|
||||
//$fusionPBX->debug = true;
|
||||
$fusionPBX->admin_username = $admin_username;
|
||||
$fusionPBX->admin_password = $admin_password;
|
||||
$fusionPBX->default_country = $install_default_country;
|
||||
@@ -305,12 +304,13 @@ if(!$install_step) { $install_step = 'select_language'; }
|
||||
$fusionPBX->$key = $value;
|
||||
}
|
||||
}
|
||||
$fusionPBX->install();
|
||||
|
||||
require_once "resources/classes/install_switch.php";
|
||||
$switch = new install_switch($domain_name, $domain_uuid, $switch_detect);
|
||||
//$switch->debug = true;
|
||||
//$fusionPBX->debug = true;
|
||||
$switch->install();
|
||||
$fusionPBX->install();
|
||||
}catch(Exception $e){
|
||||
echo "</pre>\n";
|
||||
echo "<p><b>Failed to install</b><br/>" . $e->getMessage() . "</p>\n";
|
||||
|
||||
Reference in New Issue
Block a user