From daee4811e83eee492f2e995401cf7ba413296dba Mon Sep 17 00:00:00 2001 From: Eric Espie Date: Thu, 19 Feb 2026 10:56:13 +0100 Subject: [PATCH] =?UTF-8?q?N=C2=B08540=20-=20Maintenance=20mode=20(fix=20a?= =?UTF-8?q?fter=20review)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bootstrap.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bootstrap.inc.php b/bootstrap.inc.php index 8e84a6529..687acdc1f 100644 --- a/bootstrap.inc.php +++ b/bootstrap.inc.php @@ -47,9 +47,10 @@ define('READONLY_MODE_FILE', APPROOT.'data/.readonly'); $fItopStarted = microtime(true); $iItopInitialMemory = memory_get_usage(true); - +$bBypassMaintenance = false; if (!isset($GLOBALS['bBypassAutoload']) || $GLOBALS['bBypassAutoload'] == false) { require_once APPROOT.'/lib/autoload.php'; + // Start the session here to read the "bBypassMaintenance" param $oKPI = new ExecutionKPI(); Session::Start(); $oKPI->ComputeAndReport('Session Start');