summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/theme.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/includes/theme.inc b/includes/theme.inc
index 58a4434d4..fc2ce1a68 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -19,8 +19,11 @@ class BaseTheme {
}
function header($title = "") {
+ global $base_url;
+
$output = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"DTD/xhtml1-transitional.dtd\">\n";
$output .= "<html><head><title>". $title ? $title : variable_get(site_name, "drupal") ."</title>";
+ $output .= "<base href=\"$base_url/\" />";
$output .= theme_head($main);
$output .= "</head><body bgcolor=\"$this->background\" text=\"$this->foreground". theme_onload_attribute(). "\">";
$output .= "<table border=\"0\" cellspacing=\"4\" cellpadding=\"4\"><tr><td valign=\"top\" width=\"170\">";