From eec158b5f3767fd39f8c79970a885094d9abed65 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sat, 20 Jan 2018 09:30:08 -0500 Subject: [PATCH] Add missing include/fix zrl location --- forumdirectory/forumdirectory.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/forumdirectory/forumdirectory.php b/forumdirectory/forumdirectory.php index 393063cb..10924c67 100644 --- a/forumdirectory/forumdirectory.php +++ b/forumdirectory/forumdirectory.php @@ -11,6 +11,12 @@ use Friendica\Content\Nav; use Friendica\Content\Widget; use Friendica\Core\Config; use Friendica\Database\DBM; +use Friendica\Model\Profile; + +require_once 'boot.php'; +require_once 'include/dba.php'; +require_once 'include/plugin.php'; +require_once 'include/text.php'; function forumdirectory_install() { @@ -74,7 +80,7 @@ function forumdirectory_content(&$a) $gdirpath = Config::get('system', 'directory'); if (strlen($gdirpath)) { $globaldir = ''; + . Profile::zrl($gdirpath, true) . '">' . t('Global Directory') . ''; } $admin = ''; -- 2.39.5