diff options
author | friendica <info@friendica.com> | 2013-01-03 13:50:23 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-01-03 13:50:23 -0800 |
commit | 7df33bb96366714116f8986f4a0a7d22f26729bf (patch) | |
tree | 08ac5b143f10833415119b8da1237647c602566b /include/api.php | |
parent | 781f49768ad1659923a9e2c67bc43df6eeb43a6e (diff) | |
download | volse-hubzilla-7df33bb96366714116f8986f4a0a7d22f26729bf.tar.gz volse-hubzilla-7df33bb96366714116f8986f4a0a7d22f26729bf.tar.bz2 volse-hubzilla-7df33bb96366714116f8986f4a0a7d22f26729bf.zip |
fix register_policy globally
Diffstat (limited to 'include/api.php')
-rw-r--r-- | include/api.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/api.php b/include/api.php index ec3e9404a..d755c7018 100644 --- a/include/api.php +++ b/include/api.php @@ -1467,7 +1467,7 @@ $server = $a->get_hostname(); $logo = $a->get_baseurl() . '/images/friendica-64.png'; $email = $a->config['admin_email']; - $closed = (($a->config['register_policy'] == REGISTER_CLOSED) ? 'true' : 'false'); + $closed = (($a->config['system']['register_policy'] == REGISTER_CLOSED) ? 'true' : 'false'); $private = (($a->config['system']['block_public']) ? 'true' : 'false'); $textlimit = (string) (($a->config['max_import_size']) ? $a->config['max_import_size'] : 200000); if($a->config['api_import_size']) |