congrats, we're back to this morning! :D (temporary workarounds)

This commit is contained in:
real_nowhereman 2009-07-21 16:46:09 +00:00
parent 744e16a9bb
commit 72880e6e16
2 changed files with 18 additions and 3 deletions

View File

@ -109,7 +109,6 @@
define('BLOG_BASEURL', 'http://'.$_SERVER['HTTP_HOST']. BLOG_ROOT);
function dummy() {}
set_error_handler('dummy');
function _dummy() {}
set_error_handler('_dummy');
?>

View File

@ -2611,6 +2611,22 @@ class caching_SBPT extends SBPlusTree {
var $cache = array();
function __construct($infile, $stringfile,
$maxstring = 256,
$pos=null, $nodesize=null, $keylen=null) {
$this->SBPlusTree($infile, $stringfile,
$maxstring,
$pos, $nodesize, $keylen);
}
function caching_SBPT($infile, $stringfile,
$maxstring = 256,
$pos=null, $nodesize=null, $keylen=null) {
$this->__construct($infile, $stringfile,
$maxstring,
$pos, $nodesize, $keylen);
}
function getitem(&$key, $loose=false) {
if (isset($cache[$key]))
return $cache[$key];