Maintenance
Activation
to set the application in a maintenance modus, remove the dot . from the file /.maintenance in the Base Path of your Application.
rename from...
/.maintenance
...to
/maintenance
Get Maintenance Status
/** @var boolean $bMaintenance */
$bMaintenance = \MVC\Application::isMaintenance();
- returns
trueif the file/maintenanceexists in Base Path - returns
falseif the file/maintenancedoes not exist in Base Path
Events fired
mvc.application.maintenance
Emvicy