Merge branch 'master' of https://github.com/redmatrix/redmatrix
This commit is contained in:
commit
a14d2de1f0
@ -7,6 +7,12 @@ function public_content(&$a, $update = 0, $load = false) {
|
|||||||
if($load)
|
if($load)
|
||||||
$_SESSION['loadtime'] = datetime_convert();
|
$_SESSION['loadtime'] = datetime_convert();
|
||||||
|
|
||||||
|
|
||||||
|
if(get_config('system','block_public') && (! get_account_id()) && (! remote_channel())) {
|
||||||
|
return login();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
if(get_config('system','disable_discover_tab'))
|
if(get_config('system','disable_discover_tab'))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
2015-06-09.1058
|
2015-06-10.1059
|
||||||
|
Reference in New Issue
Block a user