diff options
author | mrjive <mrjive@mrjive.it> | 2018-03-13 10:59:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-13 10:59:21 +0100 |
commit | 790660e61264ed884a8c600f407cf75893ffe977 (patch) | |
tree | 8fb3e4263cd7cdf4b34e0d7bb859c2f290c8ab39 /boot.php | |
parent | 2bcfa0c12687d47c11e8c445a5a38ffe96d5c135 (diff) | |
parent | 53c1d3775cc140ecda50d837752adac851d9e0b2 (diff) | |
download | volse-hubzilla-790660e61264ed884a8c600f407cf75893ffe977.tar.gz volse-hubzilla-790660e61264ed884a8c600f407cf75893ffe977.tar.bz2 volse-hubzilla-790660e61264ed884a8c600f407cf75893ffe977.zip |
Merge pull request #18 from redmatrix/dev
Dev
Diffstat (limited to 'boot.php')
-rwxr-xr-x | boot.php | 18 |
1 files changed, 11 insertions, 7 deletions
@@ -50,10 +50,11 @@ require_once('include/attach.php'); require_once('include/bbcode.php'); define ( 'PLATFORM_NAME', 'hubzilla' ); -define ( 'STD_VERSION', '3.1.12' ); -define ( 'ZOT_REVISION', '1.3' ); +define ( 'STD_VERSION', '3.3.2' ); +define ( 'ZOT_REVISION', '6.0a' ); -define ( 'DB_UPDATE_VERSION', 1203 ); + +define ( 'DB_UPDATE_VERSION', 1209 ); define ( 'PROJECT_BASE', __DIR__ ); @@ -84,8 +85,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 +1687,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); |