[TYPO3-core] RFC: Bug #10744: Icon path calculated incorrectly in t3lib_tceforms->getIcon()

Martin Kutschker masi-no at spam-typo3.org
Fri May 29 11:34:47 CEST 2009


Steffen Kamper schrieb:
> Hi Masi,
> 
> have a look at
> http://bugs.typo3.org/view.php?id=11216
> where i have a very easy solution for it.

Please use t3lib_div::getFileAbsFileName($filename, true, true);

Only allowing only relative paths to typo3/ and EXT: will get us
consistent results with $GLOBALS['TBE_STYLES']['htmlTemplates'][$filename].

Sidenote: the patch has trailing whitespaces.

+1 by reading if you change paths to relative and remove the whitespace.

Masi


More information about the TYPO3-team-core mailing list