drupal_maintenance_theme

Versions
mediamosa-21
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

_drupal_maintenance_theme()

▾ 3 functions call drupal_maintenance_theme()

drupal_deliver_html_page in includes/common.inc
Package and send the result of a page callback to the browser as HTML.
install_begin_request in includes/install.core.inc
Begin an installation request, modifying the installation state as needed.
_drupal_log_error in includes/errors.inc
Log a PHP error or exception, display an error page in fatal cases.

Code

includes/bootstrap.inc, line 2029

<?php
function drupal_maintenance_theme() {
  require_once DRUPAL_ROOT . '/includes/theme.maintenance.inc';
  _drupal_maintenance_theme();
}
?>