mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-08 02:14:28 +02:00
Fix bath to static folder
This commit is contained in:
parent
9870fbf84f
commit
59d22b87af
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ class StrategiesFileManager
|
||||||
public function loadConfig()
|
public function loadConfig()
|
||||||
{
|
{
|
||||||
// load core hook config
|
// 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)) {
|
if (!file_exists($configFile)) {
|
||||||
throw new HookConfigException(sprintf('config file %s does not exist.', $configFile));
|
throw new HookConfigException(sprintf('config file %s does not exist.', $configFile));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue