diff options
author | zotlabs <mike@macgirvin.com> | 2017-12-04 14:28:00 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-12-04 14:28:00 -0800 |
commit | 0a55d6d51143acbf1084104d1626c7a4b88e6c15 (patch) | |
tree | c2fc3c5a117f5256aac76dce94cf6dd202df2171 /include/nav.php | |
parent | 95311ad07e08c01ff8b9d865cbbc2a0b2bae5239 (diff) | |
parent | 0305983360568f991365cd815d081afedaa6d742 (diff) | |
download | volse-hubzilla-0a55d6d51143acbf1084104d1626c7a4b88e6c15.tar.gz volse-hubzilla-0a55d6d51143acbf1084104d1626c7a4b88e6c15.tar.bz2 volse-hubzilla-0a55d6d51143acbf1084104d1626c7a4b88e6c15.zip |
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
Diffstat (limited to 'include/nav.php')
-rw-r--r-- | include/nav.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/nav.php b/include/nav.php index 8ab401c76..66c4c1556 100644 --- a/include/nav.php +++ b/include/nav.php @@ -73,6 +73,11 @@ EOT; // nav links: array of array('href', 'text', 'extra css classes', 'title') $nav = []; + $disable_discover_tab = get_config('system','disable_discover_tab') || get_config('system','disable_discover_tab') === false; + + if(! $disable_discover_tab) + $nav['pubs'] = true; + /** * Display login or logout */ |