[TYPO3-core] RFC: resolveBackPath in t3lib_iconworks

René Fritz rene at typo3.org
Fri Dec 1 00:03:21 CET 2006


Hi

I just found a small issue with t3lib_iconworks. In general it is possible to 
create dimmed icons on the fly. Unfortunately it does not work with /../ in 
paths which is the case if the icon is in an extension in typo3conf/ext/.

Just one line is needed to fix that (path attached)

$absFile = t3lib_div::resolveBackPath($absFile);

Would be nice if this minor code fix could be included in 4.0.3 too.

@Michael: As it seems SVN is not open again (and I fear I'll break it too), 
could you please include this? Thanks very much. I'll be prepared for the 
next time.

René
-------------- next part --------------
A non-text attachment was scrubbed...
Name: class.t3lib_iconworks.diff
Type: text/x-diff
Size: 480 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20061201/fc1a3ff1/attachment.bin 


More information about the TYPO3-team-core mailing list