From 599fe205600c4d0634476a042c4b0c24d683ccb5 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Mon, 21 Aug 2023 17:14:46 +0200 Subject: map favicon path to OneDomain --- it_html.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'it_html.class') 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))); -- cgit v1.2.3