diff options
author | Mario <mario@mariovavti.com> | 2017-12-03 12:31:41 +0100 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2017-12-03 12:31:41 +0100 |
commit | dae0107dd0e1caa460866b5debdc6de912bfd819 (patch) | |
tree | 96ec8614c5629d49b7d78186a92d44eb9d31b98c /include | |
parent | dd2c4c37ff03eef6470ef0364217b2c6208c38c0 (diff) | |
download | volse-hubzilla-dae0107dd0e1caa460866b5debdc6de912bfd819.tar.gz volse-hubzilla-dae0107dd0e1caa460866b5debdc6de912bfd819.tar.bz2 volse-hubzilla-dae0107dd0e1caa460866b5debdc6de912bfd819.zip |
fix some pubstream on/off weirdness
Diffstat (limited to 'include')
-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 */ |