Merge pull request #311 from annando/1509-new-directory

Use the new directory setting (valid for 3.4.2)
pull/314/head
Tobias Diekershoff 2015-09-26 12:39:38 +02:00
commit 14d91b4091
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ function forumdirectory_content(&$a) {
$tpl = get_markup_template('directory_header.tpl');
$globaldir = '';
$gdirpath = dirname(get_config('system','directory_submit_url'));
$gdirpath = get_config('system','directory');
if(strlen($gdirpath)) {
$globaldir = '<ul><li><div id="global-directory-link"><a href="'
. zrl($gdirpath,true) . '">' . t('Global Directory') . '</a></div></li></ul>';