diff --git a/dokuwiki/action.php b/dokuwiki/action.php index e54b8e9..fa0dc38 100644 --- a/dokuwiki/action.php +++ b/dokuwiki/action.php @@ -33,6 +33,10 @@ class action_plugin_hackerbase extends DokuWiki_Action_Plugin if ($act === 'payments') { global $INPUT; $user = $INPUT->server->str('REMOTE_USER'); + if (strlen($user) === 0) { + header("Location: /start?do=login"); + die(); + } echo file_get_contents($this->getConf("htmlexports") . '/' . $user . ".html"); die(); } else if ($act === 'brmstatus') {