Project

General

Profile

Bug #20179 ยป 10689.diff

Administrator Admin, 2009-03-15 13:02

View differences:

t3lib/cache/backend/class.t3lib_cache_backend_filebackend.php (working copy)
*/
protected $cacheDirectory = '';
protected $root = '/';
/**
* Constructs this backend
*
......
*/
public function __construct(array $options = array()) {
parent::__construct($options);
if (TYPO3_OS === 'WIN') {
$this->root = '';
}
if (empty($this->cacheDirectory)) {
$cacheDirectory = 'typo3temp/cache/';
try {
......
if (!is_writable($cacheEntryPath)) {
try {
t3lib_div::mkdir_deep(
'/',
$this->root,
$cacheEntryPath
);
} catch(Exception $exception) {
......
if (!is_writable($tagPath)) {
t3lib_div::mkdir_deep(
'/',
$this->root,
$tagPath
);
}
    (1-1/1)