N°9514 - End user device cannot be uninstalled

This commit is contained in:
Eric Espie
2026-04-17 14:50:49 +02:00
parent d3dbe7b231
commit 8088fdc322

View File

@@ -169,7 +169,11 @@ abstract class StepSequencer
$sTargetEnvironment = $this->oRunTimeEnvironment->GetBuildEnv();
$sConfigFile = APPCONF.$sTargetEnvironment.'/'.ITOP_CONFIG_FILE;
try {
$this->oConfig = new Config($sConfigFile);
if (file_exists($sConfigFile)) {
$this->oConfig = new Config($sConfigFile);
} else {
$this->oConfig = new Config();
}
} catch (Exception $e) {
SetupLog::Exception("Setup error", $e);
throw $e;