From 3cd654e76f32dbcf505aef6a60a3e42d318f8b61 Mon Sep 17 00:00:00 2001 From: Philipp Holzer Date: Tue, 5 Feb 2019 23:47:40 +0100 Subject: [PATCH] bugfixing ini-loading --- src/Core/Config/ConfigCacheLoader.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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); }