constant MAINTENANCE_MODE

  1. 7.x drupal-7.x/install.php MAINTENANCE_MODE
  2. 7.x drupal-7.x/authorize.php MAINTENANCE_MODE
  3. 7.x drupal-7.x/update.php MAINTENANCE_MODE
  4. 6.x drupal-6.x/install.php MAINTENANCE_MODE
  5. 6.x drupal-6.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.

10 uses of MAINTENANCE_MODE
ajax_footer in drupal-7.x/includes/ajax.inc
Performs end-of-Ajax-request tasks.
drupal_aggregate_css in drupal-7.x/includes/common.inc
Default callback to aggregate CSS files and inline content.
drupal_exit in drupal-7.x/includes/common.inc
Performs end-of-request tasks.
drupal_get_js in drupal-7.x/includes/common.inc
Returns a themed presentation of all JavaScript code for the current page.
drupal_installation_attempted in drupal-7.x/includes/bootstrap.inc
Returns TRUE if a Drupal installation is currently being attempted.

... See full list

File

drupal-7.x/update.php, line 28
Administrative page for handling updates from one Drupal version to another.

Code

define('MAINTENANCE_MODE', 'update')