mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-05 17:42:54 +00:00
Use the new directory setting (valid for 3.4.2)
This commit is contained in:
parent
39cdc9c4aa
commit
7ed70cf5ad
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ function forumdirectory_content(&$a) {
|
||||||
$tpl = get_markup_template('directory_header.tpl');
|
$tpl = get_markup_template('directory_header.tpl');
|
||||||
|
|
||||||
$globaldir = '';
|
$globaldir = '';
|
||||||
$gdirpath = dirname(get_config('system','directory_submit_url'));
|
$gdirpath = get_config('system','directory');
|
||||||
if(strlen($gdirpath)) {
|
if(strlen($gdirpath)) {
|
||||||
$globaldir = '<ul><li><div id="global-directory-link"><a href="'
|
$globaldir = '<ul><li><div id="global-directory-link"><a href="'
|
||||||
. zrl($gdirpath,true) . '">' . t('Global Directory') . '</a></div></li></ul>';
|
. zrl($gdirpath,true) . '">' . t('Global Directory') . '</a></div></li></ul>';
|
||||||
|
|
Loading…
Reference in a new issue