die more explicitly when memcache is missing (PHP is terrible)
This commit is contained in:
parent
63a619d295
commit
dfba656355
@ -284,6 +284,9 @@ class MemcacheCache implements CacheEngine {
|
|||||||
$this->memcache = new Memcache;
|
$this->memcache = new Memcache;
|
||||||
@$this->memcache->pconnect($hp[0], $hp[1]);
|
@$this->memcache->pconnect($hp[0], $hp[1]);
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
print "no memcache"; exit;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user