]> git.mxchange.org Git - friendica.git/commitdiff
Fix bath to static folder
authorArt4 <art4@wlabs.de>
Thu, 15 May 2025 13:55:48 +0000 (13:55 +0000)
committerArt4 <art4@wlabs.de>
Thu, 15 May 2025 13:55:48 +0000 (13:55 +0000)
src/Core/Hooks/Util/StrategiesFileManager.php

index 15b624b916c8d37c1b45533659b3e05af399256a..9c3041c0a5bb812e0faf5231619bd30f45572ad0 100644 (file)
@@ -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));