From bdfe0c35fb0c42e12fa5f530d3d80db0b498386f Mon Sep 17 00:00:00 2001 From: Philipp Holzer Date: Mon, 4 Feb 2019 02:14:20 +0100 Subject: [PATCH] Typo at addon-directory-name ... --- src/Core/Config/ConfigCacheLoader.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Core/Config/ConfigCacheLoader.php b/src/Core/Config/ConfigCacheLoader.php index 6a1d438401..ea9cbf23db 100644 --- a/src/Core/Config/ConfigCacheLoader.php +++ b/src/Core/Config/ConfigCacheLoader.php @@ -21,7 +21,7 @@ class ConfigCacheLoader * The addon sub-directory * @var string */ - const ADDONDIRECTORY = '/addon/'; + const ADDONSDIRECTORY = '/addons/'; private $baseDir; private $configDir; @@ -141,7 +141,7 @@ class ConfigCacheLoader public function loadConfigFile($filename, $addon = false) { if ($addon) { - $filepath = $this->baseDir . self::ADDONDIRECTORY . self::SUBDIRECTORY . $filename . ".config.php"; + $filepath = $this->baseDir . self::ADDONSDIRECTORY . self::SUBDIRECTORY . $filename . ".config.php"; } else { $filepath = $this->configDir . $filename . ".config.php"; } -- 2.39.5