mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
N°2249 - Supportability - Updater module (Allow to run setup in case of failure)
This commit is contained in:
@@ -173,6 +173,9 @@ class WizardController
|
||||
// The configuration file already exists
|
||||
if (!is_writable($sConfigFile))
|
||||
{
|
||||
SetupUtils::ExitMaintenanceMode(false); // Reset maintenance mode in case of problem
|
||||
SetupUtils::ExitReadOnlyMode(false); // Reset readonly mode in case of problem
|
||||
|
||||
$sRelativePath = utils::GetConfigFilePathRelative();
|
||||
$oP = new SetupPage('Installation Cannot Continue');
|
||||
$oP->add("<h2>Fatal error</h2>\n");
|
||||
@@ -643,4 +646,4 @@ class Step3 extends WizardStep
|
||||
}
|
||||
}
|
||||
|
||||
End of the example */
|
||||
End of the example */
|
||||
|
||||
Reference in New Issue
Block a user