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

Global flag to identify update.php and authorize.php runs.

Identifies update.php and authorize.php runs, avoiding unwanted operations such as hook_init() and hook_exit() invokes, css/js preprocessing and translation, and solves some theming issues. The flag is checked in other places in Backdrop code (not just authorize.php).

File

core/authorize.php, line 42
Administrative script for running authorized file operations.

Code

define('MAINTENANCE_MODE', 'update')