fix: bug in cache-prune (#3933)

fixes Uncaught Exception: No cache type configured
This commit is contained in:
Dag 2024-01-26 21:44:34 +01:00 committed by GitHub
parent e58c867a82
commit 0e3a79fd78
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 6 deletions

View file

@ -41,3 +41,9 @@ 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());