From 72880e6e167e69bef13844d6e9378ff557073d40 Mon Sep 17 00:00:00 2001 From: real_nowhereman Date: Tue, 21 Jul 2009 16:46:09 +0000 Subject: [PATCH] congrats, we're back to this morning! :D (temporary workarounds) --- defaults.php | 5 ++--- fp-includes/core/core.bplustree.class.php | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/defaults.php b/defaults.php index e5962c3..bdee074 100755 --- a/defaults.php +++ b/defaults.php @@ -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'); -?> diff --git a/fp-includes/core/core.bplustree.class.php b/fp-includes/core/core.bplustree.class.php index 100fb5c..b5f6b7a 100755 --- a/fp-includes/core/core.bplustree.class.php +++ b/fp-includes/core/core.bplustree.class.php @@ -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];