aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2015-12-21 06:14:33 +1100
committerredmatrix <git@macgirvin.com>2015-12-21 06:14:33 +1100
commit047163b88443a2fca889acf4276d8bd7b325138d (patch)
tree80c95297c161bc91cda4b0a5dcf49de750f2afb3 /include
parente2692a4baaf031bd0d9c0893c3762637b1f6b201 (diff)
parent598a428c6bcda4993c9692f4e7f5e97f80ba3824 (diff)
downloadvolse-hubzilla-047163b88443a2fca889acf4276d8bd7b325138d.tar.gz
volse-hubzilla-047163b88443a2fca889acf4276d8bd7b325138d.tar.bz2
volse-hubzilla-047163b88443a2fca889acf4276d8bd7b325138d.zip
Merge pull request #232 from wave72/master
Added 'invitation_only' to site info
Diffstat (limited to 'include')
-rw-r--r--include/network.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/network.php b/include/network.php
index 68452c3d1..859a60650 100644
--- a/include/network.php
+++ b/include/network.php
@@ -1796,6 +1796,7 @@ function get_site_info() {
'url' => z_root(),
'plugins' => $visible_plugins,
'register_policy' => $register_policy[get_config('system','register_policy')],
+ 'invitation_only' => intval(get_config('system','invitation_only')),
'directory_mode' => $directory_mode[get_config('system','directory_mode')],
'language' => get_config('system','language'),
'rss_connections' => get_config('system','feed_contacts'),