From 1c16eeb5e4263cb840c229fb66652cc406459ee3 Mon Sep 17 00:00:00 2001 From: Eric Date: Tue, 21 Jan 2020 10:27:04 +0100 Subject: [PATCH] =?UTF-8?q?N=C2=B02240=20-=20Supportability=20-=20Maintena?= =?UTF-8?q?nce=20mode=20(setup=20reset=20maintenance=20mode)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- setup/index.php | 2 ++ setup/wizardcontroller.class.inc.php | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/setup/index.php b/setup/index.php index 1728bf871..c98ea1d8d 100644 --- a/setup/index.php +++ b/setup/index.php @@ -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... diff --git a/setup/wizardcontroller.class.inc.php b/setup/wizardcontroller.class.inc.php index 2615db0a4..18a026ba3 100644 --- a/setup/wizardcontroller.class.inc.php +++ b/setup/wizardcontroller.class.inc.php @@ -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();