mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-25 21:32:51 +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/sqlite.php
vendored
2
common/framework/drivers/cache/sqlite.php
vendored
|
|
@ -72,7 +72,7 @@ class SQLite implements \Rhymix\Framework\Drivers\CacheInterface
|
|||
*/
|
||||
public function isSupported()
|
||||
{
|
||||
return class_exists('\\SQLite3');
|
||||
return class_exists('\\SQLite3', false);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue