Index: typo3/sysext/tslib/class.tslib_pagegen.php =================================================================== --- typo3/sysext/tslib/class.tslib_pagegen.php (Revision 6159) +++ typo3/sysext/tslib/class.tslib_pagegen.php (Arbeitskopie) @@ -483,14 +483,15 @@ if ($GLOBALS['TSFE']->pSetup['shortcutIcon']) { $favIcon = t3lib_div::getIndpEnv('TYPO3_SITE_URL') . $GLOBALS['TSFE']->tmpl->getFileName($GLOBALS['TSFE']->pSetup['shortcutIcon']); - $iconMimeType = ''; + $favIconPath = PATH_site . $GLOBALS['TSFE']->tmpl->getFileName($GLOBALS['TSFE']->pSetup['shortcutIcon']); + $iconMimeType = ' type="image/x-icon"'; if (function_exists('finfo_open')) { if (($finfo = @finfo_open(FILEINFO_MIME))) { - $iconMimeType = ' type="' . finfo_file($finfo, $favIcon) . '"'; + $iconMimeType = ' type="' . finfo_file($finfo, $favIconPath) . '"'; finfo_close($finfo); - $pageRenderer->setIconMimeType($iconMimeType); } } + $pageRenderer->setIconMimeType($iconMimeType); $pageRenderer->setFavIcon($favIcon); }