diff --git a/src/Core/Config/ConfigCacheLoader.php b/src/Core/Config/ConfigCacheLoader.php index b95f7aa5a4..768e30e242 100644 --- a/src/Core/Config/ConfigCacheLoader.php +++ b/src/Core/Config/ConfigCacheLoader.php @@ -108,15 +108,13 @@ class ConfigCacheLoader * Tries to load the specified legacy configuration file and returns the config array. * * @deprecated since version 2018.12 - * @param string $filename + * @param string $filepath * * @return array The configuration array * @throws \Exception */ - public function loadINIConfigFile($filename) + public function loadINIConfigFile($filepath) { - $filepath = $this->configDir . DIRECTORY_SEPARATOR . $filename . ".ini.php"; - if (!file_exists($filepath)) { throw new \Exception('Error parsing non-existent INI config file ' . $filepath); }