Bug #19777 ยป bug10075.patch
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;
|
||
}
|
||