mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-18 01:42:14 +09:00
Do not use SQLite cache driver if authentication key has not been set
This commit is contained in:
parent
b63d1d6bb1
commit
49dd1fba33
2 changed files with 14 additions and 9 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', false);
|
||||
return class_exists('\\SQLite3', false) && config('crypto.authentication_key');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue