[*] fix memcache
This commit is contained in:
1 parent
0bf9cfdc75
commit
62876f5745
1 file changed
+1
-1
@@ -217,7 +217,7 @@ class CCache
|
|||||||
$memcache = memcache_connect('localhost', 11211);
|
$memcache = memcache_connect('localhost', 11211);
|
||||||
|
|
||||||
if ($memcache) {
|
if ($memcache) {
|
||||||
return $memcache->get($name);
|
return unserialize($memcache->get($name));
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user