From 46baebfa6d6c376520b6327e21deb1f821902a39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Pant=C5=AF=C4=8Dek?= Date: Tue, 20 Jun 2023 21:55:45 +0200 Subject: [PATCH] Use the configuration. --- dokuwiki/action.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dokuwiki/action.php b/dokuwiki/action.php index 5cacca4..51ecfe9 100644 --- a/dokuwiki/action.php +++ b/dokuwiki/action.php @@ -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(); } }