Browse Source

bugfixing ini-loading

pull/6581/head
Philipp Holzer 3 years ago
parent
commit
3cd654e76f
No known key found for this signature in database
GPG Key ID: 517BE60E2CE5C8A5
  1. 6
      src/Core/Config/ConfigCacheLoader.php

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

Loading…
Cancel
Save