From df1c590afcc3b0762df60dd924428503981e907d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Pant=C5=AF=C4=8Dek?= Date: Sun, 2 Jul 2023 16:30:35 +0200 Subject: [PATCH] Fix htmlexports path. --- dokuwiki/action.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dokuwiki/action.php b/dokuwiki/action.php index 790bb76..a0ea2a8 100644 --- a/dokuwiki/action.php +++ b/dokuwiki/action.php @@ -27,7 +27,7 @@ class action_plugin_hackerbase 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($this->getConf("htmlexports") . $user . ".html"); + echo file_get_contents($this->getConf("htmlexports") . '/' . $user . ".html"); die(); } }