From: Philipp Holzer Date: Tue, 5 Feb 2019 22:47:40 +0000 (+0100) Subject: bugfixing ini-loading X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3cd654e76f32dbcf505aef6a60a3e42d318f8b61;p=friendica.git bugfixing ini-loading --- 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); }