Project

General

Profile

Bug #20656 » filebackend_mkdir_deep_patch.diff

Administrator Admin, 2009-07-15 13:54

View differences:

/Library/Servers/vhosts/002-typo3-svn/typo3-4.3-svn/t3lib/cache/backend/class.t3lib_cache_backend_filebackend.php (working copy)
$expirytime = $this->calculateExpiryTime($lifetime);
$cacheEntryPath = $this->renderCacheEntryPath($entryIdentifier);
$cacheEntryPath = str_replace( PATH_site, '', $cacheEntryPath );
if (!is_writable($cacheEntryPath)) {
try {
t3lib_div::mkdir_deep(
$this->root,
PATH_site,
$cacheEntryPath
);
} catch(Exception $exception) {
(1-1/3)