aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2018-02-28 20:47:14 -0500
committerAndrew Manning <tamanning@zoho.com>2018-02-28 20:47:14 -0500
commit39fe80a196ee626dda15b5b844dd1d05893f7646 (patch)
tree1c66efd9cb61c2f18c0d98d57b1589de6164101e /boot.php
parent1035c453ea6468de13db8eb04fbb55d38347ff2a (diff)
parent029d155a07e4d2a0af82a19d3234cee50b57a085 (diff)
downloadvolse-hubzilla-39fe80a196ee626dda15b5b844dd1d05893f7646.tar.gz
volse-hubzilla-39fe80a196ee626dda15b5b844dd1d05893f7646.tar.bz2
volse-hubzilla-39fe80a196ee626dda15b5b844dd1d05893f7646.zip
Merge branch 'dev' into oauth2
Diffstat (limited to 'boot.php')
-rwxr-xr-xboot.php15
1 files changed, 9 insertions, 6 deletions
diff --git a/boot.php b/boot.php
index 7530f3123..2c937cf57 100755
--- a/boot.php
+++ b/boot.php
@@ -50,10 +50,10 @@ require_once('include/attach.php');
require_once('include/bbcode.php');
define ( 'PLATFORM_NAME', 'hubzilla' );
-define ( 'STD_VERSION', '3.2RC' );
+define ( 'STD_VERSION', '3.3' );
define ( 'ZOT_REVISION', '1.3' );
-define ( 'DB_UPDATE_VERSION', 1205 );
+define ( 'DB_UPDATE_VERSION', 1206 );
define ( 'PROJECT_BASE', __DIR__ );
@@ -84,8 +84,6 @@ define ( 'DIRECTORY_FALLBACK_MASTER', 'https://gravizot.de');
$DIRECTORY_FALLBACK_SERVERS = array(
'https://hubzilla.zottel.net',
- 'https://my.federated.social',
- //'https://hubzilla.nl',
'https://gravizot.de'
);
@@ -1688,10 +1686,15 @@ function remote_channel() {
function can_view_public_stream() {
- if((observer_prohibited(true))
- || (! (intval(get_config('system','open_pubstream',1))) && get_observer_hash())) {
+ if(observer_prohibited(true)) {
return false;
}
+
+ if(! (intval(get_config('system','open_pubstream',1)))) {
+ if(! get_observer_hash()) {
+ return false;
+ }
+ }
$site_firehose = ((intval(get_config('system','site_firehose',0))) ? true : false);
$net_firehose = ((get_config('system','disable_discover_tab',1)) ? false : true);