Issue Bug Closed

#16309function errorGif in t3lib/thumbs.php still search for dir "gfx" in t3lib

Bernd Hanisch 06/30/06, 12:46 updated 03/13/07, 15:16

Description

so far i know, no symlinks are present in typo3 4.0.

the function errorGif searching for the notfound-thumb still in t3lib/gfx.

Bugfix:

// Creates the basis for the error image
if ($TYPO3_CONF_VARS[‘GFX’][‘gdlib_png’]) {
Header(‘Content-type: image/png’);
// old code > $im = imagecreatefrompng(PATH_t3lib.‘gfx/notfound_thumb.png’);
// bugfix
$im = imagecreatefrompng(PATH_site.‘typo3/gfx/notfound_thumb.png’);
} else {
Header(‘Content-type: image/gif’);
// old code > $im = imagecreatefromgif(PATH_t3lib.‘gfx/notfound_thumb.gif’);
// bugfix
$im = imagecreatefromgif(PATH_site.‘typo3/gfx/notfound_thumb.gif’);
}

(issue imported from #M3777)

Reviews 0

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