MAINTENANCE_MODE
in ./update.php
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).
<?php
define('MAINTENANCE_MODE', 'update');
?>
Login or register to post comments 