Bug #21561 » 12604.diff
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']) {
|