mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-31 15:30:01 +02:00
refactor: change the way dependencies are wired (#4194)
* refactor: change the way dependencies are setup * lint
This commit is contained in:
parent
6ec9193546
commit
4faaa79101
10 changed files with 93 additions and 81 deletions
|
@ -45,9 +45,3 @@ spl_autoload_register(function ($className) {
|
|||
}
|
||||
}
|
||||
});
|
||||
|
||||
$customConfig = [];
|
||||
if (file_exists(__DIR__ . '/../config.ini.php')) {
|
||||
$customConfig = parse_ini_file(__DIR__ . '/../config.ini.php', true, INI_SCANNER_TYPED);
|
||||
}
|
||||
Configuration::loadConfiguration($customConfig, getenv());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue