MAINTENANCE_MODE

Same name in this branch
  1. 7.x authorize.php \MAINTENANCE_MODE
  2. 7.x install.php \MAINTENANCE_MODE
Same name in other branches
  1. 9 core/authorize.php \MAINTENANCE_MODE
  2. 9 core/install.php \MAINTENANCE_MODE
  3. 8.9.x core/authorize.php \MAINTENANCE_MODE
  4. 8.9.x core/install.php \MAINTENANCE_MODE
  5. 10 core/authorize.php \MAINTENANCE_MODE
  6. 10 core/install.php \MAINTENANCE_MODE
  7. 11.x core/authorize.php \MAINTENANCE_MODE
  8. 11.x core/install.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.

8 uses of MAINTENANCE_MODE
ajax_footer in includes/ajax.inc
Performs end-of-Ajax-request tasks.
drupal_exit in includes/common.inc
Performs end-of-request tasks.
drupal_installation_attempted in includes/bootstrap.inc
Returns TRUE if a Drupal installation is currently being attempted.
error_displayable in includes/errors.inc
Determines whether an error should be displayed.
menu_get_custom_theme in includes/menu.inc
Gets the custom theme for the current page, if there is one.

... See full list

File

./update.php, line 28

Code

define('MAINTENANCE_MODE', 'update');

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.