N°8540 - Maintenance mode

This commit is contained in:
Eric Espie
2026-02-18 16:13:26 +01:00
parent 54909520e9
commit 833217f467
7 changed files with 31 additions and 15 deletions

View File

@@ -35,7 +35,10 @@ class Session
}
if (!self::$bIsInitialized) {
SessionHandler::session_set_save_handler();
if (defined('MAINTENANCE_MODE_FILE')) {
// Hack for setup, SessionHandler cannot work under setup
SessionHandler::session_set_save_handler();
}
session_name('itop-'.md5(APPROOT));
}