diff --git a/System/Cache/Redis.php b/System/Cache/Redis.php index 42d12659..867c6b62 100644 --- a/System/Cache/Redis.php +++ b/System/Cache/Redis.php @@ -140,7 +140,7 @@ SCRIPT; $config = $this->get_config(); $client = $connections->get($config, true); - if (!($client instanceof \Redis)) { + if (!($client instanceof Base\Redis)) { throw new Exception('Redis connections more.'); } return $client;