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.
function drupal_maintenance_theme() {
require_once __DIR__ . '/theme.maintenance.inc';
_drupal_maintenance_theme();
}