From 59a17792f5cd1c05e9c4e5c8dc7cb4b9332f1318 Mon Sep 17 00:00:00 2001 From: Shish Date: Sun, 12 Feb 2012 11:40:36 +0000 Subject: [PATCH] group the scripts --- core/page.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/page.class.php b/core/page.class.php index 5563eb48..5117ef18 100644 --- a/core/page.class.php +++ b/core/page.class.php @@ -240,8 +240,6 @@ class Page { $data_href = get_base_href(); $theme_name = $config->get_string('theme', 'default'); - $this->add_html_header(""); - if(file_exists("themes/$theme_name/favicon.ico")) { $this->add_html_header(""); $this->add_html_header(""); @@ -267,6 +265,8 @@ class Page { } } + $this->add_html_header(""); + foreach(glob("lib/*.js") as $js) { $this->add_html_header(''); }