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) {