mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-31 15:30:01 +02:00
feat: add config option "path" for file cache (#3297)
This commit is contained in:
parent
4e616c7092
commit
9e9a697b8b
7 changed files with 67 additions and 27 deletions
|
@ -39,6 +39,8 @@ class CacheFactory
|
|||
return new NullCache();
|
||||
case FileCache::class:
|
||||
return new FileCache([
|
||||
// Intentionally checking for "truthy" value
|
||||
'path' => Configuration::getConfig('FileCache', 'path') ?: PATH_CACHE,
|
||||
'enable_purge' => Configuration::getConfig('FileCache', 'enable_purge'),
|
||||
]);
|
||||
case SQLiteCache::class:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue