* Fixed missing prefix for cache get() and delete() functions

Cause those functions to not work correctly..
This commit is contained in:
slawkens
2018-06-01 15:03:13 +02:00
parent 90cd5dfae7
commit b3625dffbc
4 changed files with 8 additions and 8 deletions

View File

@@ -30,7 +30,7 @@ class Cache_eAccelerator
public function get($key)
{
$tmp = '';
if($this->fetch($key, $tmp))
if($this->fetch($this->prefix . $key, $tmp))
return $tmp;
return '';
@@ -41,7 +41,7 @@ class Cache_eAccelerator
}
public function delete($key) {
eaccelerator_rm($key);
eaccelerator_rm($this->prefix . $key);
}
public function enabled() {