mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-06 00:27:27 +02:00
refactor: extract exception and cache middleware (#4248)
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
Reference in New Issue
Block a user