Default discover to on.

This commit is contained in:
Thomas Willingham
2014-03-30 22:59:37 +01:00
parent 9e5f424394
commit 1093e8d83e
5 changed files with 7 additions and 7 deletions

View File

@@ -1384,7 +1384,7 @@ function network_tabs() {
// tabs
$tabs = array();
if(get_config('system','discover_tab')) {
if(! get_config('system','disable_discover_tab')) {
$tabs[] = array(
'label' => t('Discover'),
'url'=>$a->get_baseurl(true) . '/' . $cmd . '?f=&fh=1' . ((x($_GET,'cid')) ? '&cid=' . $_GET['cid'] : '') . ((x($_GET,'gid')) ? '&gid=' . $_GET['gid'] : ''),

View File

@@ -169,7 +169,7 @@ function poller_run($argv, $argc){
// pull in some public posts
if(get_config('system','discover_tab'))
if(! get_config('system','disable_discover_tab'))
proc_run('php','include/externals.php');