drupal_maintenance_theme
includes/bootstrap.inc, line 1084
- 4.7 – 7
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()
- drupal_site_offline in includes/common.inc
- Generates a site off-line message.
- install_main in ./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...
- _db_error_page in includes/database.inc
- Helper function to show fatal database errors.
Code
<?php
function drupal_maintenance_theme() {
require_once './includes/theme.maintenance.inc';
_drupal_maintenance_theme();
}
?>