aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mod/public.php6
-rw-r--r--version.inc2
2 files changed, 7 insertions, 1 deletions
diff --git a/mod/public.php b/mod/public.php
index 3868f6d6c..6a4e6a334 100644
--- a/mod/public.php
+++ b/mod/public.php
@@ -7,6 +7,12 @@ function public_content(&$a, $update = 0, $load = false) {
if($load)
$_SESSION['loadtime'] = datetime_convert();
+
+ if(get_config('system','block_public') && (! get_account_id()) && (! remote_channel())) {
+ return login();
+ }
+
+
if(get_config('system','disable_discover_tab'))
return;
diff --git a/version.inc b/version.inc
index 154027d3a..273ae533b 100644
--- a/version.inc
+++ b/version.inc
@@ -1 +1 @@
-2015-06-09.1058
+2015-06-10.1059