| 5 bootstrap.inc | drupal_maintenance_theme() |
| 6 bootstrap.inc | drupal_maintenance_theme() |
| 7 bootstrap.inc | drupal_maintenance_theme() |
| 8 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 maintenance mode. This also applies when the database fails.
See also
File
- includes/
bootstrap.inc, line 2461 - Functions that need to be loaded on every Drupal request.
Code
<?php
function drupal_maintenance_theme() {
require_once DRUPAL_ROOT . '/includes/theme.maintenance.inc';
_drupal_maintenance_theme();
}
?>Login or register to post comments