From b96e0ff05489c673d72c8e6a3175c674ed1b8d97 Mon Sep 17 00:00:00 2001 From: Eric Espie Date: Thu, 4 Jun 2026 17:47:06 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B09454=20-=20Make=20MTT=20compatible=20wit?= =?UTF-8?q?h=20the=20dry=20run?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- setup/wizardsteps/WizStepDataAudit.php | 2 +- setup/wizardsteps/WizStepLandingBeforeAudit.php | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/setup/wizardsteps/WizStepDataAudit.php b/setup/wizardsteps/WizStepDataAudit.php index 52135d3680..5f76528aac 100644 --- a/setup/wizardsteps/WizStepDataAudit.php +++ b/setup/wizardsteps/WizStepDataAudit.php @@ -104,7 +104,7 @@ JS); $aParams = [ 'selected_modules' => '[]', 'selected_extensions' => '[]', - 'display_choices' => '[]', + 'display_choices' => '', 'added_extensions' => '[]', 'removed_extensions' => '[]', 'extensions_not_uninstallable' => '[]', diff --git a/setup/wizardsteps/WizStepLandingBeforeAudit.php b/setup/wizardsteps/WizStepLandingBeforeAudit.php index 8b7e229b08..2fa0a479a1 100644 --- a/setup/wizardsteps/WizStepLandingBeforeAudit.php +++ b/setup/wizardsteps/WizStepLandingBeforeAudit.php @@ -42,7 +42,8 @@ class WizStepLandingBeforeAudit extends WizStepModulesChoice */ public function UpdateWizardStateAndGetNextStep($bMoveForward = true): WizardState { - $sBuildConfigFile = APPCONF.$this->oRuntimeEnv->GetBuildEnv().'/'.ITOP_CONFIG_FILE; + // Change the rights to production config file ! + $sBuildConfigFile = APPCONF.ITOP_DEFAULT_ENV.'/'.ITOP_CONFIG_FILE; @chmod($sBuildConfigFile, 0770); // In case it exists: RWX for owner and group, nothing for others $oConfig = new Config($sBuildConfigFile);