cache.php: fix typo

This commit is contained in:
Zankaria 2024-10-28 13:15:39 +01:00
parent 873b14d848
commit e451faae40

View file

@ -99,7 +99,7 @@ class Cache {
case 'redis':
if (!self::$cache)
self::init();
self::$cache->setex($key, $expires, json_encode($value));
self::$cache->setEx($key, $expires, json_encode($value));
break;
case 'apc':
apc_store($key, $value, $expires);