summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2023-08-21 17:14:46 +0200
committerUrban Müller2023-08-21 17:14:46 +0200
commit599fe205600c4d0634476a042c4b0c24d683ccb5 (patch)
tree7e3391a8bfe4df7beeda35a55b9a81d173656794
parentdfce5aedf11dff21113e96b8c70dd3b877561648 (diff)
downloaditools-599fe205600c4d0634476a042c4b0c24d683ccb5.tar.gz
itools-599fe205600c4d0634476a042c4b0c24d683ccb5.tar.bz2
itools-599fe205600c4d0634476a042c4b0c24d683ccb5.zip
map favicon path to OneDomain
-rw-r--r--it_html.class2
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)));