Dokuwiki plugin compatibility with current version.
This commit is contained in:
parent
00ce55e01f
commit
8545c2512e
3 changed files with 3 additions and 3 deletions
|
@ -32,7 +32,7 @@ class action_plugin_hackerbase extends DokuWiki_Action_Plugin
|
|||
$act = act_clean($event->data);
|
||||
if ($act === 'payments') {
|
||||
global $INPUT;
|
||||
$user = preg_replace("/[^a-zA-Z0-9\-]+/", "", $INPUT->server->str('REMOTE_USER'));
|
||||
$user = $INPUT->server->str('REMOTE_USER');
|
||||
echo file_get_contents($this->getConf("htmlexports") . '/' . $user . ".html");
|
||||
die();
|
||||
} else if ($act === 'brmstatus') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue