Use the configuration.

This commit is contained in:
Dominik Pantůček 2023-06-20 21:55:45 +02:00
parent 3a4993e933
commit 46baebfa6d

View file

@ -27,7 +27,7 @@ class action_plugin_brmburo extends DokuWiki_Action_Plugin
if ($act === 'payments') {
global $INPUT;
$user = preg_replace("/[^a-zA-Z0-9\-]+/", "", $INPUT->server->str('REMOTE_USER'));
echo file_get_contents('/var/lib/jendasap/'.$user.".html");
echo file_get_contents($this->getConf("htmlexports") . $user . ".html");
die();
}
}