mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 15:22:17 +02:00
N°2240 - Supportability - Maintenance mode
This commit is contained in:
@@ -219,7 +219,7 @@ function CronExec($oP, $aProcesses, $bVerbose)
|
|||||||
$oSearch = new DBObjectSearch('BackgroundTask');
|
$oSearch = new DBObjectSearch('BackgroundTask');
|
||||||
while (time() < $iTimeLimit)
|
while (time() < $iTimeLimit)
|
||||||
{
|
{
|
||||||
// Maintenance or ReadOnly mode
|
// Verify files instead of reloading the full config each time
|
||||||
if (file_exists(MAINTENANCE_MODE_FILE) || file_exists(READONLY_MODE_FILE))
|
if (file_exists(MAINTENANCE_MODE_FILE) || file_exists(READONLY_MODE_FILE))
|
||||||
{
|
{
|
||||||
$oP->p("Maintenance detected, exiting");
|
$oP->p("Maintenance detected, exiting");
|
||||||
|
|||||||
Reference in New Issue
Block a user