[TYPO3-core] FYI24: #10368: Wrong clear.gif path in dyntabs

Dmitry Dulepov dmitry at typo3.org
Fri Feb 6 20:17:26 CET 2009


Hi!

This is SVN patch request.

Type: bug, trivial

Branches: trunk, 4.2, 4.1

BT reference: http://bugs.typo3.org/view.php?id=10368

Problem: TYPO3 generates wrong path for clear.gif in tab menu. It creates `src="clear.gif"`. This works inside typo3/ directory but any dyntabbed module outside of the typo3/ directory (extensions, for example) causes 404 errors on the web server.

Solution: use `$GLOBALS['BACK_PATH'] . 'gfx/clear.gif'` instead.

Note: this has also tiny performance impact because 404s are not cached on the client.

-- 
Dmitry Dulepov
TYPO3 core team
"Sometimes they go bad. No one knows why" (Cameron, TSCC, "Dungeons&Dragons")
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 10368.diff
Type: application/pgp-keys
Size: 617 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090206/b5aff785/attachment.key 


More information about the TYPO3-team-core mailing list