aboutsummaryrefslogtreecommitdiffstats
path: root/mod/invite.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-01-03 13:50:23 -0800
committerfriendica <info@friendica.com>2013-01-03 13:50:23 -0800
commit7df33bb96366714116f8986f4a0a7d22f26729bf (patch)
tree08ac5b143f10833415119b8da1237647c602566b /mod/invite.php
parent781f49768ad1659923a9e2c67bc43df6eeb43a6e (diff)
downloadvolse-hubzilla-7df33bb96366714116f8986f4a0a7d22f26729bf.tar.gz
volse-hubzilla-7df33bb96366714116f8986f4a0a7d22f26729bf.tar.bz2
volse-hubzilla-7df33bb96366714116f8986f4a0a7d22f26729bf.zip
fix register_policy globally
Diffstat (limited to 'mod/invite.php')
-rw-r--r--mod/invite.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/invite.php b/mod/invite.php
index f5cf090e0..5eb5f6646 100644
--- a/mod/invite.php
+++ b/mod/invite.php
@@ -96,9 +96,9 @@ function invite_content(&$a) {
$dirloc = get_config('system','directory_submit_url');
if(strlen($dirloc)) {
- if($a->config['register_policy'] == REGISTER_CLOSED)
+ if($a->config['system']['register_policy'] == REGISTER_CLOSED)
$linktxt = sprintf( t('Visit %s for a list of public sites that you can join. Friendica members on other sites can all connect with each other, as well as with members of many other social networks.'), dirname($dirloc) . '/siteinfo');
- elseif($a->config['register_policy'] != REGISTER_CLOSED)
+ elseif($a->config['system']['register_policy'] != REGISTER_CLOSED)
$linktxt = sprintf( t('To accept this invitation, please visit and register at %s or any other public Friendica website.'), $a->get_baseurl())
. "\r\n" . "\r\n" . sprintf( t('Friendica sites all inter-connect to create a huge privacy-enhanced social web that is owned and controlled by its members. They can also connect with many traditional social networks. See %s for a list of alternate Friendica sites you can join.'),dirname($dirloc) . '/siteinfo');
}