From 2162dbebdd743da1eda0329543984c350cbc5cb3 Mon Sep 17 00:00:00 2001 From: Shish Date: Tue, 7 Feb 2012 11:33:27 +0000 Subject: [PATCH] base_href variable for javascript, to avoid generating dynamic JS with PHP --- core/page.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/page.class.php b/core/page.class.php index a3b77cab..4060d4f7 100644 --- a/core/page.class.php +++ b/core/page.class.php @@ -236,6 +236,8 @@ class Page { protected function add_auto_html_headers() { $data_href = get_base_href(); + + $this->add_html_header(""); /* Attempt to cache the CSS & JavaScript files */ if ($this->add_cached_auto_html_headers() === FALSE) {