function drupal_maintenance_theme

7.x drupal_maintenance_theme()

Enables use of the theme system without requiring database access.

Loads and initializes the theme system for site installs, updates and when the site is in maintenance mode. This also applies when the database fails.

See also


5 calls to drupal_maintenance_theme()
authorize.php in drupal/authorize.php
Administrative script for running authorized file operations.
drupal_deliver_html_page in drupal/includes/
Packages and sends the result of a page callback to the browser as HTML.
install_begin_request in drupal/includes/
Begins an installation request, modifying the installation state as needed.
update.php in drupal/update.php
Administrative page for handling updates from one Drupal version to another.
_drupal_log_error in drupal/includes/
Logs a PHP error or exception and displays an error page in fatal cases.


drupal/includes/, line 2523
Functions that need to be loaded on every Drupal request.


function drupal_maintenance_theme() {
  require_once DRUPAL_ROOT . '/includes/';