1. 1.20.x authorize.php MAINTENANCE_MODE
  2. 1.20.x install.php MAINTENANCE_MODE
  3. 1.20.x 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

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

Code

define('MAINTENANCE_MODE', 'update')