mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-25 13:14:43 +02:00
* refactor * fix: case-sensitive config from env, fix #2935 * lowercase all config section and keys * test: add test for case-insensitivity
This commit is contained in:
parent
edbafc6144
commit
5165ea265d
10 changed files with 78 additions and 161 deletions
|
@ -22,7 +22,7 @@ class SQLiteCache implements CacheInterface
|
|||
|
||||
$section = 'SQLiteCache';
|
||||
$file = Configuration::getConfig($section, 'file');
|
||||
if (empty($file)) {
|
||||
if (!$file) {
|
||||
throw new \Exception(sprintf('Configuration for %s missing.', $section));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue