mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-01 16:22:41 +09:00
Improve performance of class existence checks
This commit is contained in:
parent
ba9adb2f6e
commit
6d324633a5
3 changed files with 7 additions and 7 deletions
2
common/framework/drivers/cache/redis.php
vendored
2
common/framework/drivers/cache/redis.php
vendored
|
|
@ -62,7 +62,7 @@ class Redis implements \Rhymix\Framework\Drivers\CacheInterface
|
|||
*/
|
||||
public function isSupported()
|
||||
{
|
||||
return class_exists('\\Redis');
|
||||
return class_exists('\\Redis', false);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue