Project

General

Profile

Bug #21181 » 0012109.patch

Administrator Admin, 2009-10-07 19:25

View differences:

t3lib/class.t3lib_div.php (Arbeitskopie)
if (!empty($firstLevelCache[$identifier])) {
$array = $firstLevelCache[$identifier];
} else {
// look up in second level cache
$cacheContent = t3lib_pageSelect::getHash($identifier, 0);
$array = unserialize($cacheContent);
// look up in second level cache if default configuration has already been loaded:
if (defined('TYPO3_DefaultConfigurationIsLoaded')) {
$cacheContent = t3lib_pageSelect::getHash($identifier, 0);
$array = unserialize($cacheContent);
if ($array === false) {
$array = self::xml2arrayProcess($string, $NSprefix, $reportDocTag);
t3lib_pageSelect::storeHash($identifier, serialize($array), 'ident_xml2array');
if ($array === false) {
$array = self::xml2arrayProcess($string, $NSprefix, $reportDocTag);
t3lib_pageSelect::storeHash($identifier, serialize($array), 'ident_xml2array');
}
}
// store content in first level cache
$firstLevelCache[$identifier] = $array;
}
t3lib/config_default.php (Arbeitskopie)
$ACCESS_TIME = $EXEC_TIME - ($EXEC_TIME % 60); // $ACCESS_TIME is a common time in minutes for access control
$SIM_ACCESS_TIME = $ACCESS_TIME; // if $SIM_EXEC_TIME is changed this value must be set accordingly
define('TYPO3_DefaultConfigurationIsLoaded', true);
?>
(1-1/2)