per-theme favicon possibilities
This commit is contained in:
parent
5241ed24b5
commit
8527da445e
@ -241,6 +241,11 @@ class Page {
|
|||||||
$theme_name = $config->get_string('theme', 'default');
|
$theme_name = $config->get_string('theme', 'default');
|
||||||
|
|
||||||
$this->add_html_header("<script type='text/javascript'>base_href = '$data_href';</script>");
|
$this->add_html_header("<script type='text/javascript'>base_href = '$data_href';</script>");
|
||||||
|
|
||||||
|
if(file_exists("themes/$theme_name/favicon.ico")) {
|
||||||
|
$this->add_html_header("<link rel='icon' href='$data_href/themes/$theme_name/favicon.ico'>");
|
||||||
|
$this->add_html_header("<link rel='shortcut icon' href='$data_href/themes/$theme_name/favicon.ico'>");
|
||||||
|
}
|
||||||
|
|
||||||
/* Attempt to cache the CSS & JavaScript files */
|
/* Attempt to cache the CSS & JavaScript files */
|
||||||
if ($this->add_cached_auto_html_headers() === FALSE) {
|
if ($this->add_cached_auto_html_headers() === FALSE) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user