This website uses Cookies to provide you with the best possible service. Please see our Privacy Policy for more information. Click the check box below to accept cookies. Then confirm with a click on "Save".  
Status: 2025-02-15

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 true if the file /maintenance exists in Base Path
  • returns false if the file /maintenance does not exist in Base Path

Events fired

  • mvc.application.maintenance