diff -ru typo3_src-4.2.0_SVN/typo3/sysext/cms/tslib/class.tslib_content.php typo3_src-4.2.0/typo3/sysext/cms/tslib/class.tslib_content.php --- typo3_src-4.2.0_SVN/typo3/sysext/cms/tslib/class.tslib_content.php Sun May 18 16:47:19 2008 +++ typo3_src-4.2.0/typo3/sysext/cms/tslib/class.tslib_content.php Sun Jun 1 16:49:58 2008 @@ -4623,6 +4623,10 @@ $gifCreator->init(); $theImage=''; if ($GLOBALS['TYPO3_CONF_VARS']['GFX']['gdlib']) { + if ($fileArray['alternativeTempPath'] && t3lib_div::inList($GLOBALS['TYPO3_CONF_VARS']['FE']['allowedTempPaths'],$fileArray['alternativeTempPath'])) { + $gifCreator->tempPath = $fileArray['alternativeTempPath']; + $GLOBALS['TT']->setTSlogMessage('Set alternativeTempPath: '.$fileArray['alternativeTempPath']); + } $gifCreator->start($fileArray,$this->data); $theImage = $gifCreator->gifBuild(); }