|
|
@ -80,6 +80,11 @@ include('header.php');
|
|
|
|
$continue = create_use_database($continue, $con, $_POST["toolDatabase"]);
|
|
|
|
$continue = create_use_database($continue, $con, $_POST["toolDatabase"]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if ($roleDomain) {
|
|
|
|
|
|
|
|
// Create Ring database
|
|
|
|
|
|
|
|
$continue = create_use_database($continue, $con, $_POST["domainDatabase"]);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if ($con) {
|
|
|
|
if ($con) {
|
|
|
|
mysqli_close($con);
|
|
|
|
mysqli_close($con);
|
|
|
|
printalert("info", "Disconnected from the Service SQL server");
|
|
|
|
printalert("info", "Disconnected from the Service SQL server");
|
|
|
@ -167,6 +172,10 @@ include('header.php');
|
|
|
|
$continue = upgrade_domain_databases($continue);
|
|
|
|
$continue = upgrade_domain_databases($continue);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if ($roleService) {
|
|
|
|
|
|
|
|
// TODO: Create the default admin user
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if ($roleSupport) {
|
|
|
|
if ($roleSupport) {
|
|
|
|
// Load AMS Library
|
|
|
|
// Load AMS Library
|
|
|
|
if ($continue) {
|
|
|
|
if ($continue) {
|
|
|
@ -200,6 +209,10 @@ include('header.php');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if ($roleDomain) {
|
|
|
|
|
|
|
|
// TODO: Register the domain with the nel database etc
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if ($continue && $roleService) {
|
|
|
|
if ($continue && $roleService) {
|
|
|
|
if (file_put_contents("role_service", "1")) {
|
|
|
|
if (file_put_contents("role_service", "1")) {
|
|
|
|
printalert("success", "Service role successfully installed");
|
|
|
|
printalert("success", "Service role successfully installed");
|
|
|
@ -423,7 +436,7 @@ include('header.php');
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="panelDomain" class="panel panel-default hide">
|
|
|
|
<div id="panelDomain" class="panel panel-default hide">
|
|
|
|
<div class="panel-heading">
|
|
|
|
<div class="panel-heading">
|
|
|
|
<h2 class="panel-title">Domain</h2>
|
|
|
|
<h2 class="panel-title">Domain <small>(Multiple domains require separate installations, as they may run different versions)</small></h2>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="panel-body">
|
|
|
|
<div class="panel-body">
|
|
|
|
<div class="form-group">
|
|
|
|
<div class="form-group">
|
|
|
|