mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-30 14:49:53 +02:00
refactor: extract exception and cache middleware (#4248)
This commit is contained in:
parent
36fd72c87e
commit
a6bdc322b0
8 changed files with 99 additions and 56 deletions
|
@ -82,6 +82,10 @@ final class Configuration
|
|||
}
|
||||
}
|
||||
|
||||
if (Debug::isEnabled()) {
|
||||
self::setConfig('cache', 'type', 'array');
|
||||
}
|
||||
|
||||
if (!is_array(self::getConfig('system', 'enabled_bridges'))) {
|
||||
self::throwConfigError('system', 'enabled_bridges', 'Is not an array');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue