Project

General

Profile

Actions

Bug #16309

closed

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

Added by Bernd Hanisch almost 18 years ago. Updated about 17 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2006-06-30
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.0
PHP Version:
4
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)

Actions #1

Updated by Marc Bastian Heinrichs over 17 years ago

still in 4.0.2

Actions #2

Updated by Martin Kutschker over 17 years ago

Fixed in SVN (trunk and TYPO3_4-0).

Actions

Also available in: Atom PDF