diff options
author | Satoshi Sahara <sahara.satoshi@gmail.com> | 2020-08-13 13:54:48 +0900 |
---|---|---|
committer | Satoshi Sahara <sahara.satoshi@gmail.com> | 2020-08-13 13:54:48 +0900 |
commit | 83f8872c29e69f18f6c8d8e30c47dd178a40e04d (patch) | |
tree | aefe1724c5a1d6750071fd4ce24440a99d1edb52 /inc/Action | |
parent | 2c210ad72adfec6edcda2464d0f4e194d7aa8b3c (diff) | |
download | dokuwiki-83f8872c29e69f18f6c8d8e30c47dd178a40e04d.tar.gz dokuwiki-83f8872c29e69f18f6c8d8e30c47dd178a40e04d.zip |
use $INPUT instead of $_SERVER
Diffstat (limited to 'inc/Action')
-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(); } } |