function drupal_maintenance_theme

7.x bootstrap.inc drupal_maintenance_theme()
6.x bootstrap.inc 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 off-line mode. This also applies when the database fails.

See also

_drupal_maintenance_theme()

5 calls to drupal_maintenance_theme()
drupal_site_offline in drupal-6.x/includes/common.inc
Generates a site off-line message.
install_main in drupal-6.x/install.php
The Drupal installation happens in a series of steps. We begin by verifying that the current environment meets our minimum requirements. We then go on to verify that settings.php is properly configured. From there we connect to the configured database…
update.php in drupal-6.x/update.php
Administrative page for handling updates from one Drupal version to another.
_batch_progress_page_nojs in drupal-6.x/includes/batch.inc
Batch processing page without JavaScript support.
_db_error_page in drupal-6.x/includes/database.inc
Helper function to show fatal database errors.

File

drupal-6.x/includes/bootstrap.inc, line 1219
Functions that need to be loaded on every Drupal request.

Code

function drupal_maintenance_theme() {
  require_once './includes/theme.maintenance.inc';
  _drupal_maintenance_theme();
}