Project

General

Profile

Bug #21153 ยป 12080.diff

Administrator Admin, 2009-09-30 12:11

View differences:

typo3/sysext/cms/tslib/class.tslib_fe.php (Arbeitskopie)
$cacheFileName = PATH_site.'typo3temp/cache_pages/'.$row['hash']{0}.$row['hash']{1}.'/'.$row['hash'].'.html';
switch((string)$type) {
case 'get':
$row['content'] = @is_file($cacheFileName) ? t3lib_div::getUrl($cacheFileName) : '<!-- CACHING ERROR, sorry -->';
$row['HTML'] = @is_file($cacheFileName) ? t3lib_div::getUrl($cacheFileName) : '<!-- CACHING ERROR, sorry -->';
break;
case 'set':
t3lib_div::writeFileToTypo3tempDir($cacheFileName,$row['content']);
$row['content'] = '';
t3lib_div::writeFileToTypo3tempDir($cacheFileName, $row['HTML']);
$row['HTML'] = '';
break;
}
}
    (1-1/1)