mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 10:38:45 +02:00
N°2240 - Supportability - Maintenance mode
This commit is contained in:
@@ -306,7 +306,7 @@ function CronExec($oP, $aProcesses, $bVerbose)
|
||||
}
|
||||
sleep($iCronSleep);
|
||||
// Maintenance mode
|
||||
if (file_exists(APPROOT.'.maintenance'))
|
||||
if (file_exists(MAINTENANCE_MODE_FILE))
|
||||
{
|
||||
$oP->p("Maintenance mode detected");
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user