mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-25 11:38:44 +02:00
N°9144 - fix both UI setup wizard and CLI unattended + replace production by ITOP_DEFAULT_ENV
This commit is contained in:
@@ -67,7 +67,6 @@ class ApplicationInstallSequencer extends StepSequencer
|
||||
|
||||
case 'backup':
|
||||
if (array_key_exists('backup', $this->oParams->Get('optional_steps', []))) {
|
||||
|
||||
$aBackupOptions = $this->oParams->Get('optional_steps')['backup'];
|
||||
// __DB__-%Y-%m-%d
|
||||
$sDestination = $aBackupOptions['destination'];
|
||||
@@ -136,7 +135,7 @@ class ApplicationInstallSequencer extends StepSequencer
|
||||
return $this->GetNextStep('', "Unknown setup step '$sStep'.", 100, '', self::ERROR);
|
||||
}
|
||||
} catch (Exception $e) {
|
||||
$this->ReportException($e);
|
||||
SetupLog::Exception("$sStep failed", $e);
|
||||
$aResult = $this->GetNextStep('', '', 100, $e->getMessage(), self::ERROR);
|
||||
$aResult['error_code'] = $e->getCode();
|
||||
return $aResult;
|
||||
|
||||
Reference in New Issue
Block a user