diff options
-rw-r--r-- | it_html.class | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/it_html.class b/it_html.class index 970e8f0..58784cf 100644 --- a/it_html.class +++ b/it_html.class @@ -212,7 +212,7 @@ function head($args = array()) if ($p['favicon']) $header .= tag('link', array('rel' => "shortcut icon", 'href' => $p['favicon'])); else if ($p['show_favicon'] && @file_exists($_SERVER['DOCUMENT_ROOT'] . '/favicon.ico')) - $header .= tag('link', array('rel' => "shortcut icon", 'href' => "/favicon.ico")); + $header .= tag('link', array('rel' => "shortcut 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))); |