bugfixing ini-loading

This commit is contained in:
Philipp Holzer 2019-02-05 23:47:40 +01:00
parent 62c79e1c4f
commit 3cd654e76f
No known key found for this signature in database
GPG Key ID: 517BE60E2CE5C8A5
1 changed files with 2 additions and 4 deletions

View File

@ -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);
}