forked from leftypol/leftypol
cache.php: fix typo
This commit is contained in:
parent
873b14d848
commit
e451faae40
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ class Cache {
|
||||||
case 'redis':
|
case 'redis':
|
||||||
if (!self::$cache)
|
if (!self::$cache)
|
||||||
self::init();
|
self::init();
|
||||||
self::$cache->setex($key, $expires, json_encode($value));
|
self::$cache->setEx($key, $expires, json_encode($value));
|
||||||
break;
|
break;
|
||||||
case 'apc':
|
case 'apc':
|
||||||
apc_store($key, $value, $expires);
|
apc_store($key, $value, $expires);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue