1. 1 core/authorize.php MAINTENANCE_MODE
  2. 1 core/install.php MAINTENANCE_MODE
  3. 1 core/update.php MAINTENANCE_MODE

Global flag indicating that update.php is being run.

When this flag is set, various operations do not take place, such as invoking hook_init() and hook_exit(), css/js preprocessing, and translation.

This constant is defined using define() instead of const so that PHP versions older than 5.3 can display the proper PHP requirements instead of causing a fatal error.

File

core/update.php, line 47
Administrative page for handling updates from one Backdrop version to another.

Code

define('MAINTENANCE_MODE', 'update')