Issue Bug Closed

#24311TCEForms->getIconHTML() does not resolve back paths before checking static files

Jeff Segars 12/08/10, 21:58 updated 03/29/11, 23:46

Description

TCEForms->getIconHTML() returns the HTML for a static image file or a sprite icon. When checking for a static image file, the back path is not resolved before calling is_file() so references such as “../uploads/path/to/my/file.png” will fail. This is most easily reproduced with TemplaVoila and preview icons for Data Structures and Template Objects.

(issue imported from #M16703)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.