Project

General

Profile

Bug #21561 » 12604.diff

Administrator Admin, 2009-11-21 19:22

View differences:

typo3/sysext/cms/tslib/class.tslib_content.php (working copy)
$gifCreator->init();
if ($GLOBALS['TSFE']->config['config']['meaningfulTempFilePrefix']) {
$gifCreator->filenamePrefix = $GLOBALS['TSFE']->fileNameASCIIPrefix(preg_replace('/\.[[:alnum:]]+$/','',basename($theImage)),intval($GLOBALS['TSFE']->config['config']['meaningfulTempFilePrefix']),'_');
$filename = basename($theImage);
// remove extension
$filename = substr($filename, 0, strrpos($filename, '.'));
$gifCreator->filenamePrefix = substr($filename, 0, intval($GLOBALS['TSFE']->config['config']['meaningfulTempFilePrefix']));
unset($filename);
}
if ($fileArray['sample']) {
(1-1/3)