2c2 < index 55809e4..0e398a0 100644 --- > index e40498c..2724220 100644 5,7c5,7 < @@ -19,6 +19,12 @@ < function _drupal_maintenance_theme() { < global $theme, $theme_key, $conf; --- > @@ -23,6 +23,11 @@ function _drupal_maintenance_theme() { > return; > } 12,29c12,16 < + drupal_add_css($path . '/css/system.module.css'); < + drupal_add_css($path . '/css/system.theme.css'); < + < // If $theme is already set, assume the others are set too, and do nothing. < if (isset($theme)) { < return; < @@ -92,11 +98,6 @@ function _drupal_maintenance_theme() { < } < _drupal_theme_initialize($themes[$theme], array_reverse($base_theme), '_theme_load_offline_registry'); < < - // These are usually added from system_init() -except maintenance.css. < - // When the database is inactive it's not called so we add it here. < - $path = drupal_get_path('module', 'system'); < - drupal_add_css($path . '/css/system.module.css'); < - drupal_add_css($path . '/css/system.theme.css'); < drupal_add_css($path . '/css/system.admin.css'); < drupal_add_css($path . '/css/system.maintenance.css'); < } --- > + _drupal_add_css($path . '/css/system.module.css'); > + _drupal_add_css($path . '/css/system.theme.css'); > require_once __DIR__ . '/path.inc'; > require_once __DIR__ . '/theme.inc'; > require_once __DIR__ . '/common.inc';