Feature #19283 » 2008.10.16.tslib_class_fe.php_patch.diff
/typo3/sysext/cms/tslib/class.tslib_fe.php (working copy) | ||
---|---|---|
*/
|
||
function setPageCacheContent($content,$data,$tstamp) {
|
||
$this->clearPageCacheContent();
|
||
|
||
// only if content is not "message_page_is_being_generated"
|
||
// which expires after 30 seconds
|
||
if (!$this->tempContent) {
|
||
// can be changed from an extension via $GLOBALS['TSFE']->cacheExpires
|
||
// $this->cacheExpires is default 0
|
||
if ($this->cacheExpires > 0 && $tstamp > $this->cacheExpires) { $tstamp = $this->cacheExpires; }
|
||
}
|
||
|
||
|
||
$insertFields = array(
|
||
'hash' => $this->newHash,
|
||
'page_id' => $this->id,
|