diff options
Diffstat (limited to 'inc/Action/Denied.php')
-rw-r--r-- | inc/Action/Denied.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/Action/Denied.php b/inc/Action/Denied.php index 1daac22b3..1caa9e1e7 100644 --- a/inc/Action/Denied.php +++ b/inc/Action/Denied.php @@ -22,8 +22,9 @@ class Denied extends AbstractAclAction /** @inheritdoc */ public function tplContent() { + global $INPUT; $this->showBanner(); - if (empty($_SERVER['REMOTE_USER']) && actionOK('login')) { + if (empty($INPUT->server->str('REMOTE_USER')) && actionOK('login')) { (new Ui\Login)->show(); } } |