[TYPO3-dev] page.shortcutIcon with TYPO3_SITE_URL
Steffen Gebert
steffen at steffen-gebert.de
Wed Jan 14 13:36:33 CET 2009
Hi list,
I wonder why TYPO3 produces URLs with prepended http://hostname for favicon
tags:
$favIcon = t3lib_div::getIndpEnv('TYPO3_SITE_URL') .
$GLOBALS['TSFE']->tmpl->getFileName($GLO
BALS['TSFE']->pSetup['shortcutIcon']);
<link rel="shortcut icon"
href="'.htmlspecialchars($favIcon).'"'.$iconMimeType.' />
<link rel="icon" href="'.htmlspecialchars($favIcon).'"'.$iconMimeType.' />';
In the opposite to this, page.stylesheet doesn't prepend the hostname and I
think it's not needed at all.
Should I send a RFC to he core list or do you disagree?
Steffen
More information about the TYPO3-dev
mailing list