[TYPO3-core] RFC: resolveBackPath in t3lib_iconworks
Martin Kutschker
martin.kutschker-n0spam at no5pam-blackbox.net
Fri Dec 1 16:38:49 CET 2006
René Fritz schrieb:
>> b) the change seems not needed (so why risk a change?)
>
> On my system file_exists() don't resolve back paths so the original icon will
> not be found in extensions and the 'default.gif' icon will be returned.
>
>> c) changing this in t3lib_iconworks is probably the wrong place (I would
>> prefer changing it at the beginning of t3lib_div::read_png_gif())
>
> Will not help as it will never reach that function.
>
> As an alternative I suggest to put resolveBackPath() in skinImg(). Patch
> attached
Did you test it with and without "t3skin"? I have to dig into the code
again but the icon generation is far more fragile then one might expect.
Masi
More information about the TYPO3-team-core
mailing list