Bug #17053 » 0005088-4.1.0RC2.patch
typo3_src-4.1.0RC2/t3lib/class.t3lib_page.php 2007-03-02 03:23:15.000000000 +0100 | ||
---|---|---|
$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('content', 'cache_hash', 'hash='.$GLOBALS['TYPO3_DB']->fullQuoteStr($hash, 'cache_hash').$whereAdd);
|
||
if ($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res)) {
|
||
$GLOBALS['TYPO3_DB']->sql_free_result($res);
|
||
return $row['content'];
|
||
return base64_decode($row['content']);
|
||
}
|
||
}
|
||
... | ... | |
function storeHash($hash,$data,$ident) {
|
||
$insertFields = array(
|
||
'hash' => $hash,
|
||
'content' => $data,
|
||
'content' => base64_encode($data),
|
||
'ident' => $ident,
|
||
'tstamp' => time()
|
||
);
|