diff --git a/src/CentreonRemote/Domain/Service/ConfigurationWizard/ServerConnectionConfigurationService.php b/src/CentreonRemote/Domain/Service/ConfigurationWizard/ServerConnectionConfigurationService.php index 46519cbe1d2..1c5e94363af 100644 --- a/src/CentreonRemote/Domain/Service/ConfigurationWizard/ServerConnectionConfigurationService.php +++ b/src/CentreonRemote/Domain/Service/ConfigurationWizard/ServerConnectionConfigurationService.php @@ -103,7 +103,7 @@ public function insert() $this->insertConfigCentreonBroker($serverID); - if ($this->shouldInsertBamBrokers && !$this->isRemote()) { + if ($this->shouldInsertBamBrokers && $this->isRemote()) { $this->insertBamBrokers(); } diff --git a/www/install/step_upgrade/step5.php b/www/install/step_upgrade/step5.php index 0621b992a3d..7d1090611ec 100644 --- a/www/install/step_upgrade/step5.php +++ b/www/install/step_upgrade/step5.php @@ -110,7 +110,7 @@ function validation() { url: './step_upgrade/process/process_step5.php', data: jQuery('input[name="send_statistics"]').serialize() }).success(function () { - javascript:self.location = "../main.php" + javascript:self.location = "../index.php" }) } diff --git a/www/install/steps/templates/step9.tpl b/www/install/steps/templates/step9.tpl index 8ce543e11ad..2fbe26f284b 100644 --- a/www/install/steps/templates/step9.tpl +++ b/www/install/steps/templates/step9.tpl @@ -47,7 +47,7 @@ }).success(function (data) { var data = JSON.parse(data); if (data.result) { - javascript:self.location = "../main.php"; + javascript:self.location = "../index.php"; } }); }