aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-03-29 23:24:38 -0700
committerfriendica <info@friendica.com>2014-03-29 23:24:38 -0700
commitc400303f2248ffa8c5936735009a3ea5d9dbe4ca (patch)
tree3b7f18bce7c22e0a1f773c9aaf23f753482c9c4c
parenta31d5c7cddf8674478b9537c206fba05adf30652 (diff)
downloadvolse-hubzilla-c400303f2248ffa8c5936735009a3ea5d9dbe4ca.tar.gz
volse-hubzilla-c400303f2248ffa8c5936735009a3ea5d9dbe4ca.tar.bz2
volse-hubzilla-c400303f2248ffa8c5936735009a3ea5d9dbe4ca.zip
make the discover tab enabled by default the first you use the admin panel, though it will be disabled until you use the admin panel.
-rw-r--r--mod/admin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/admin.php b/mod/admin.php
index b57ef1a8b..ad539f419 100644
--- a/mod/admin.php
+++ b/mod/admin.php
@@ -464,7 +464,7 @@ function admin_page_site(&$a) {
'$allowed_email' => array('allowed_email', t("Allowed email domains"), get_config('system','allowed_email'), t("Comma separated list of domains which are allowed in email addresses for registrations to this site. Wildcards are accepted. Empty to allow any domains")),
'$block_public' => array('block_public', t("Block public"), get_config('system','block_public'), t("Check to block public access to all otherwise public personal pages on this site unless you are currently logged in.")),
'$force_publish' => array('publish_all', t("Force publish"), get_config('system','publish_all'), t("Check to force all profiles on this site to be listed in the site directory.")),
- '$discover_tab' => array('discover_tab', t("Discovery tab"), get_config('system','discover_tab'), t("Display a tab in the network view with public content pulled from sources chosen for this site.")),
+ '$discover_tab' => array('discover_tab', t("Discovery tab"), ((get_config('system','discover_tab') === false) ? 1 : get_config('system','discover_tab')), t("Display a tab in the network view with public content pulled from sources chosen for this site.")),
'$no_login_on_homepage' => array('no_login_on_homepage', t("No login on Homepage"), get_config('system','no_login_on_homepage'), t("Check to hide the login form from your sites homepage when visitors arrive who are not logged in (e.g. when you put the content of the homepage in via the site channel).")),
'$proxyuser' => array('proxyuser', t("Proxy user"), get_config('system','proxyuser'), ""),