temporary fix for php5.3

This commit is contained in:
real_nowhereman 2009-07-20 17:33:31 +00:00
parent 57c212c9c8
commit 06d15d67fd
2 changed files with 11 additions and 0 deletions

View File

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

View File

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