aboutsummaryrefslogtreecommitdiffstats
path: root/mod/siteinfo.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-11-13 15:28:34 -0800
committerredmatrix <redmatrix@redmatrix.me>2015-11-13 15:28:34 -0800
commitdba38821bc5f3ad9b3a8f4f614d651e98f0b5ec5 (patch)
tree8043aa511c1969751ca6386d8d9dae2995beab28 /mod/siteinfo.php
parent5d0646c9e1f207fa05fd923bcccd9f5844de2664 (diff)
downloadvolse-hubzilla-dba38821bc5f3ad9b3a8f4f614d651e98f0b5ec5.tar.gz
volse-hubzilla-dba38821bc5f3ad9b3a8f4f614d651e98f0b5ec5.tar.bz2
volse-hubzilla-dba38821bc5f3ad9b3a8f4f614d651e98f0b5ec5.zip
superblock enhancements
Diffstat (limited to 'mod/siteinfo.php')
-rw-r--r--mod/siteinfo.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/siteinfo.php b/mod/siteinfo.php
index 2fffccc73..231427290 100644
--- a/mod/siteinfo.php
+++ b/mod/siteinfo.php
@@ -81,8 +81,8 @@ function siteinfo_init(&$a) {
'commit' => $commit,
'url' => z_root(),
'plugins' => $visible_plugins,
- 'register_policy' => $register_policy[$a->config['system']['register_policy']],
- 'directory_mode' => $directory_mode[$a->config['system']['directory_mode']],
+ 'register_policy' => $register_policy[get_config('system','register_policy')],
+ 'directory_mode' => $directory_mode[get_config('system','directory_mode')],
'language' => get_config('system','language'),
'rss_connections' => get_config('system','feed_contacts'),
'expiration' => $site_expire,