mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-30 21:30:14 +02:00
feat(sqlite cache): add config options (#3499)
* refactor: sqlite cache * refactor * feat: add config options to sqlite cache * refactor
This commit is contained in:
@@ -9,8 +9,8 @@ class FileCache implements CacheInterface
|
||||
public function __construct(array $config = [])
|
||||
{
|
||||
$default = [
|
||||
'path' => null,
|
||||
'enable_purge' => true,
|
||||
'path' => null,
|
||||
'enable_purge' => true,
|
||||
];
|
||||
$this->config = array_merge($default, $config);
|
||||
if (!$this->config['path']) {
|
||||
|
Reference in New Issue
Block a user