Bug #15013 » bug_1537_v2.diff
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
|
- « Previous
- 1
- 2
- Next »