From 59d22b87af2015c35815d0f5da7a962191f681f7 Mon Sep 17 00:00:00 2001 From: Art4 Date: Thu, 15 May 2025 13:55:48 +0000 Subject: [PATCH] Fix bath to static folder --- src/Core/Hooks/Util/StrategiesFileManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/Hooks/Util/StrategiesFileManager.php b/src/Core/Hooks/Util/StrategiesFileManager.php index 15b624b916..9c3041c0a5 100644 --- a/src/Core/Hooks/Util/StrategiesFileManager.php +++ b/src/Core/Hooks/Util/StrategiesFileManager.php @@ -73,7 +73,7 @@ class StrategiesFileManager public function loadConfig() { // load core hook config - $configFile = $this->addonHelper->getAddonPath() . '/' . static::STATIC_DIR . '/' . static::CONFIG_NAME . '.config.php'; + $configFile = $this->basePath . '/' . static::STATIC_DIR . '/' . static::CONFIG_NAME . '.config.php'; if (!file_exists($configFile)) { throw new HookConfigException(sprintf('config file %s does not exist.', $configFile));