summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--it_html.class4
1 files changed, 2 insertions, 2 deletions
diff --git a/it_html.class b/it_html.class
index bab85da..c8d1a1a 100644
--- a/it_html.class
+++ b/it_html.class
@@ -207,9 +207,9 @@ function head($args = array())
# Add favicon
if ($p['favicon'])
- $header .= tag('link', array('rel' => "shortcut icon", 'href' => $p['favicon']));
+ $header .= tag('link', array('rel' => "icon", 'href' => $p['favicon']));
else if ($p['show_favicon'] && @file_exists($_SERVER['DOCUMENT_ROOT'] . '/favicon.ico'))
- $header .= tag('link', array('rel' => "shortcut icon", 'href' => U("/favicon.ico")));
+ $header .= tag('link', array('rel' => "icon", 'href' => U("/favicon.ico")));
foreach((array)$p['stylesheets'] as $type => $url)
$header .= tag('link', array('rel' => "stylesheet", 'type' => "text/css", 'href' => $url) + (is_int($type) ? array() : array('media' => $type)));