Project

General

Profile

Bug #14371 » 15_checkBeforeWrite_tempCACHED.diff

Administrator Admin, 2005-04-26 12:54

View differences:

typo3_src-3.8.0beta2.1/t3lib/class.t3lib_extmgm.php 2005-04-26 12:44:01.000000000 +0200
if ($wrError) {
//debug('Cannot write cache files: '.$wrError.'. Disabling the cache...');
$TYPO3_CONF_VARS['EXT']['extCache']=0;
} else {
} elseif($extensions['cms']) { // Under some circumstances it can happen that the temp_CACHED files are to be written although the list is not correct. Unfortunately this is hard to reproduce, but checking for $extensions['cms'] (which is always loaded) should be a safe go.
// Write cache files:
$extensions = t3lib_extMgm::writeCacheFiles($extensions,$cacheFilePrefix);
}
}
(1-1/2)