N°2240 - Supportability - Maintenance mode (setup reset maintenance mode)

This commit is contained in:
Eric
2020-01-21 10:27:04 +01:00
parent ecc0b57b31
commit 1c16eeb5e4
2 changed files with 2 additions and 1 deletions

View File

@@ -33,6 +33,8 @@ ini_set('display_errors', true);
ini_set('display_startup_errors', true);
date_default_timezone_set('Europe/Paris'); // Just to avoid a warning if the timezone is not set in php.ini
SetupUtils::ExitMaintenanceMode(false);
/////////////////////////////////////////////////////////////////////
// Fake functions to protect the first run of the installer
// in case the PHP JSON module is not installed...

View File

@@ -173,7 +173,6 @@ 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();