Bug #20153 » bug_10650.diff
typo3/sysext/cms/tslib/class.tslib_pagegen.php (Arbeitskopie) | ||
---|---|---|
$favIcon = t3lib_div::getIndpEnv('TYPO3_SITE_URL') . $GLOBALS['TSFE']->tmpl->getFileName($GLOBALS['TSFE']->pSetup['shortcutIcon']);
|
||
$iconMimeType = '';
|
||
if (function_exists('finfo_open')) {
|
||
if (($finfo = @finfo_open(FILEINFO_MIME))) {
|
||
$finfo = @finfo_open(FILEINFO_MIME);
|
||
if ($finfo) {
|
||
$iconMimeType = ' type="' . finfo_file($finfo, $favIcon) . '"';
|
||
finfo_close($finfo);
|
||
}
|
||
} else {
|
||
$iconMimeType = ' type="image/x-icon"';
|
||
}
|
||
$GLOBALS['TSFE']->content.= '
|