From dc12343cf77f3b2d320de012ddbaca4eb9469806 Mon Sep 17 00:00:00 2001 From: Kai Sassmannshausen Date: Sun, 1 Jun 2025 11:40:51 +0200 Subject: [PATCH] helper.php: Adjusts to use dokuwiki\HTTP\DokuHTTPClient(); See: https://www.dokuwiki.org/devel:httpclient This fixes the incompatibility of this plugin with dokuwiki version 2025-05-14 "Librarian" and later (https://www.dokuwiki.org/changes) --- helper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helper.php b/helper.php index 7127a55..93d543f 100644 --- a/helper.php +++ b/helper.php @@ -120,7 +120,7 @@ public static function loadContent($file) { // load file data if (preg_match('/^https?:\/\//i', $file)) { - $http = new DokuHTTPClient(); + $http = new dokuwiki\HTTP\DokuHTTPClient(); $content = $http->get($file); if ($content === false) throw new \Exception('Failed to fetch remote CSV data');