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 704
Functions that need to be loaded on every Drupal request.

Code

function drupal_maintenance_theme() {
  require_once __DIR__ . '/theme.maintenance.inc';
  _drupal_maintenance_theme();
}
doc_Drupal
2016-10-29 09:03:16
Comments
Leave a Comment

Please login to continue.