N°2240 - Supportability - Maintenance mode

This commit is contained in:
Eric
2019-10-01 13:53:34 +02:00
parent 7e78c35d23
commit afe760a8bc
3 changed files with 5 additions and 4 deletions

View File

@@ -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;