Project

General

Profile

Bug #19777 ยป bug10075.patch

Administrator Admin, 2009-01-07 14:25

View differences:

t3lib/class.t3lib_page.php (working copy)
$cacheUid = $uid = intval($uid);
$cacheIgnoreMPerrors = ($ignoreMPerrors ? 1 : 0);
if (is_array($this->cache_getRootLine[$cacheUid][$MP][$cacheIgnoreMPerrors])) {
return $this->cache_getRootLine[$cacheUid][$MP][$cacheIgnoreMPerrors];
if (is_array($this->cache_getRootLine[$cacheUid][$this->sys_language_uid][$MP][$cacheIgnoreMPerrors])) {
return $this->cache_getRootLine[$cacheUid][$this->sys_language_uid][$MP][$cacheIgnoreMPerrors];
}
// Initialize:
......
}
// Note: rootline errors are not cached
$this->cache_getRootLine[$cacheUid][$MP][$cacheIgnoreMPerrors] = $output;
$this->cache_getRootLine[$cacheUid][$this->sys_language_uid][$MP][$cacheIgnoreMPerrors] = $output;
return $output;
}
    (1-1/1)