drupal_maintenance_theme

function drupal_maintenance_theme

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()

File

core/includes/bootstrap.inc, line 696
Functions that need to be loaded on every Drupal request.

Code

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