Project

General

Profile

Bug #15013 » bug_1537_v2.diff

Administrator Admin, 2008-04-04 00:04

View differences:

typo3/sysext/cms/tslib/class.tslib_pagegen.php (Arbeitskopie)
}
if ($GLOBALS['TSFE']->pSetup['shortcutIcon']) {
$ss=$path.$GLOBALS['TSFE']->tmpl->getFileName($GLOBALS['TSFE']->pSetup['shortcutIcon']);
$GLOBALS['TSFE']->content.='
<link rel="SHORTCUT ICON" href="'.htmlspecialchars($ss).'" />';
$favIcon = $GLOBALS['TSFE']->tmpl->getFileName($GLOBALS['TSFE']->pSetup['shortcutIcon']);
$favIcon = t3lib_div::getIndpEnv('TYPO3_SITE_URL').$favIcon;
$iconMimeType = '';
if (function_exists('finfo_open')) {
$finfo = finfo_open(FILEINFO_MIME);
$iconMimeType = ' type="'.finfo_file($finfo,$favIcon).'"';
finfo_close($finfo);
}
$GLOBALS['TSFE']->content.= '
<link rel="shortcut icon" href="'.htmlspecialchars($favIcon).'"'.$iconMimeType.' />
<link rel="icon" href="'.htmlspecialchars($favIcon).'"'.$iconMimeType.' />';
}
// Including CSS files
(2-2/2)