mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 07:12:26 +02:00
N°9514 - End user device cannot be uninstalled
This commit is contained in:
@@ -169,7 +169,11 @@ abstract class StepSequencer
|
|||||||
$sTargetEnvironment = $this->oRunTimeEnvironment->GetBuildEnv();
|
$sTargetEnvironment = $this->oRunTimeEnvironment->GetBuildEnv();
|
||||||
$sConfigFile = APPCONF.$sTargetEnvironment.'/'.ITOP_CONFIG_FILE;
|
$sConfigFile = APPCONF.$sTargetEnvironment.'/'.ITOP_CONFIG_FILE;
|
||||||
try {
|
try {
|
||||||
$this->oConfig = new Config($sConfigFile);
|
if (file_exists($sConfigFile)) {
|
||||||
|
$this->oConfig = new Config($sConfigFile);
|
||||||
|
} else {
|
||||||
|
$this->oConfig = new Config();
|
||||||
|
}
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
SetupLog::Exception("Setup error", $e);
|
SetupLog::Exception("Setup error", $e);
|
||||||
throw $e;
|
throw $e;
|
||||||
|
|||||||
Reference in New Issue
Block a user