diff --git a/setup/wizardsteps.class.inc.php b/setup/wizardsteps.class.inc.php index 51eb1b89a..c7a950f4e 100644 --- a/setup/wizardsteps.class.inc.php +++ b/setup/wizardsteps.class.inc.php @@ -2481,7 +2481,7 @@ class WizStepDone extends WizardStep // Load the data model only, in order to load env-production/core/main.php to get the XML parameters (needed by GetModuleSettings below) // But main.php may also contain classes (defined without any module), and thus requiring the full data model // to be loaded to prevent "class not found" errors... - $oProductionEnv = new RunTimeEnvironment($sTargetEnvironment); + $oProductionEnv = new RunTimeEnvironment('production'); $oProductionEnv->InitDataModel($oConfig, true); $sIframeUrl = $oConfig->GetModuleSetting('itop-hub-connector', 'setup_url', '');