constant MAINTENANCE_MODE

Same name in this branch

Global flag indicating that update.php is being run.

When this flag is set, various operations do not take place, such as 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.

6 uses of MAINTENANCE_MODE

File

drupal/core/update.php, line 44
Administrative page for handling updates from one Drupal version to another.

Code

define('MAINTENANCE_MODE', 'update');