From 8527da445e31b1804e3d84cfe4ea4c3d5c86d98b Mon Sep 17 00:00:00 2001 From: Shish Date: Sun, 12 Feb 2012 11:40:00 +0000 Subject: [PATCH] per-theme favicon possibilities --- core/page.class.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/page.class.php b/core/page.class.php index ac6a127f..5563eb48 100644 --- a/core/page.class.php +++ b/core/page.class.php @@ -241,6 +241,11 @@ class Page { $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(""); + } /* Attempt to cache the CSS & JavaScript files */ if ($this->add_cached_auto_html_headers() === FALSE) {