summaryrefslogtreecommitdiff
path: root/includes/theme.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/theme.inc')
-rw-r--r--includes/theme.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/includes/theme.inc b/includes/theme.inc
index ccdc9fcb3..fda5f49ab 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -406,7 +406,7 @@ function theme_page($content) {
function theme_maintenance_page($content, $messages = TRUE, $partial = FALSE) {
drupal_set_header('Content-Type: text/html; charset=utf-8');
- drupal_add_css('misc/maintenance.css', 'module', 'all', FALSE);
+ drupal_set_html_head('<style type="text/css" media="all">@import "'. base_path() .'misc/maintenance.css";</style>');
drupal_set_html_head('<link rel="shortcut icon" href="'. base_path() .'misc/favicon.ico" type="image/x-icon" />');
$output = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n";
@@ -414,7 +414,6 @@ function theme_maintenance_page($content, $messages = TRUE, $partial = FALSE) {
$output .= '<head>';
$output .= ' <title>'. strip_tags(drupal_get_title()) .'</title>';
$output .= drupal_get_html_head();
- $output .= drupal_get_css();
$output .= drupal_get_js();
$output .= '</head>';
$output .= '<body>';