MAINTENANCE_MODE

  1. drupal
    1. 6 update.php
    2. 6 install.php
    3. 7 update.php
    4. 7 install.php
    5. 7 authorize.php
    6. 8 core/update.php
    7. 8 core/install.php
    8. 8 core/authorize.php

Global flag to identify update.php and authorize.php runs, 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 authorize.php).

File

./authorize.php, line 35
Administrative script for running authorized file operations.

Code

define('MAINTENANCE_MODE', 'update')
Login or register to post comments