constant MAINTENANCE_MODE
Same name in this branch
- 7.x drupal-7.x/install.php \MAINTENANCE_MODE
- 7.x drupal-7.x/update.php \MAINTENANCE_MODE
- 7.x drupal-7.x/authorize.php \MAINTENANCE_MODE
Same name and namespace in other branches
- 6.x drupal-6.x/install.php \MAINTENANCE_MODE
- 6.x drupal-6.x/update.php \MAINTENANCE_MODE
Global flag to identify update.php and authorize.php runs.
Identifies update.php and authorize.php runs, avoiding unwanted operations such as hook_init() and hook_exit() invokes, css/js preprocessing and translation, and solves some theming issues. The flag is checked in other places in Drupal code (not just authorize.php).
Archivo
- drupal-7.x/
authorize.php, line 36 - Administrative script for running authorized file operations.
Código
define('MAINTENANCE_MODE', 'update')