constant MAINTENANCE_MODE

  1. 8.0.x commands/core/drupal/update_6.inc MAINTENANCE_MODE
  2. 8.0.x commands/core/drupal/update_7.inc MAINTENANCE_MODE
  3. 6.x commands/core/drupal/update_7.inc MAINTENANCE_MODE
  4. 6.x commands/core/drupal/update.inc MAINTENANCE_MODE
  5. 6.x commands/core/drupal/update_6.inc MAINTENANCE_MODE
  6. 7.x commands/core/drupal/update_7.inc MAINTENANCE_MODE
  7. 7.x commands/core/drupal/update_6.inc MAINTENANCE_MODE
  8. 3.x commands/core/drupal/update_6.inc MAINTENANCE_MODE
  9. 3.x commands/core/drupal/update_7.inc MAINTENANCE_MODE
  10. 4.x commands/core/drupal/update_6.inc MAINTENANCE_MODE
  11. 4.x commands/core/drupal/update.inc MAINTENANCE_MODE
  12. 5.x commands/core/drupal/update_7.inc MAINTENANCE_MODE
  13. 5.x commands/core/drupal/update_6.inc MAINTENANCE_MODE
  14. 5.x commands/core/drupal/update.inc MAINTENANCE_MODE
  15. master commands/core/drupal/update_7.inc MAINTENANCE_MODE

Global flag to identify update.php run, and so avoid various unwanted operations, such as hook_init() and hook_exit() invokes, css/js preprocessing and translation, and solve some theming issues. This flag is checked on several places in Drupal code (not just update.php).

File

commands/core/drupal/update_7.inc, line 16
Update.php for provisioned sites. This file is a derivative of the standard drupal update.php, which has been modified to allow being run from the command line.

Code

define('MAINTENANCE_MODE', 'update')