Issue Bug Closed

#18513imagegeneration does not work with im_path set to a path with whitespaces

Stephan Petzl 03/31/08, 11:30 updated 07/19/11, 01:16

Description

after installing TYPO3 into this path:
“D:\Programme\TYPO3 Winstaller\htdocs\Testsite\“
i noticed that $this->cObj->IMAGE returns only an empty image.
through debugging i found out that the problem can be fixed by wrapping the im_path (which is set in the install-tool) with doublequotes:
// line 5050 in class.t3lib_div.php
if(!$path) { $path = “\”“.$gfxConf[‘im_path’].”\”“; }
//old version
if(!$path) { $path = $gfxConf[‘im_path’]; }

(issue imported from #M7967)

Reviews 0

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