Bug #20582 » 11286_02.diff
t3lib/class.t3lib_tstemplate.php (working copy) | ||
---|---|---|
$pageSectionCache = $GLOBALS['typo3CacheManager']->getCache('cache_pagesection');
|
||
/* @var $pageSectionCache t3lib_cache_AbstractCache */
|
||
$cacheEntry = $pageSectionCache->get(
|
||
$currentPageData = $pageSectionCache->get(
|
||
intval($GLOBALS['TSFE']->id) . '_' . t3lib_div::md5int($GLOBALS['TSFE']->MP)
|
||
);
|
||
if ($cacheEntry) {
|
||
$currentPageData = unserialize($cacheEntry);
|
||
}
|
||
} else {
|
||
$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery(
|
||
'content', 'cache_pagesection', 'page_id=' . intval($GLOBALS['TSFE']->id) . ' AND mpvar_hash=' . t3lib_div::md5int($GLOBALS['TSFE']->MP));
|
||
... | ... | |
/* @var $pageSectionCache t3lib_cache_AbstractCache */
|
||
$pageSectionCache->set(
|
||
intval($GLOBALS['TSFE']->id) . '_' . $mpvarHash,
|
||
serialize($cc),
|
||
$cc,
|
||
array(
|
||
'pageId_' . intval($GLOBALS['TSFE']->id),
|
||
'mpvarHash_' . $mpvarHash
|
- « Previous
- 1
- 2
- Next »