aboutsummaryrefslogtreecommitdiffstats
path: root/mod/login.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/login.php')
-rw-r--r--mod/login.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/login.php b/mod/login.php
index 12c7d339e..31a4e7fc0 100644
--- a/mod/login.php
+++ b/mod/login.php
@@ -3,5 +3,5 @@
function login_content(&$a) {
if(local_channel())
goaway(z_root());
- return login(($a->config['system']['register_policy'] == REGISTER_CLOSED) ? false : true);
+ return login((App::$config['system']['register_policy'] == REGISTER_CLOSED) ? false : true);
}