From 9601b3d6ca9fec6cb03596fca6e5ee3d6ff29fc3 Mon Sep 17 00:00:00 2001 From: ghost Date: Sat, 3 Feb 2024 11:07:16 +0200 Subject: [PATCH] use Filesystem::getData method --- src/Dokuwiki/Helper.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Dokuwiki/Helper.php b/src/Dokuwiki/Helper.php index 69c2a4b..3c0b10c 100644 --- a/src/Dokuwiki/Helper.php +++ b/src/Dokuwiki/Helper.php @@ -53,7 +53,7 @@ class Helper { $h1 = $this->_reader->getH1( $this->_reader->toGemini( - file_get_contents( + $this->_filesystem->getData( $file ) ) @@ -65,7 +65,7 @@ class Helper { $h1 = $this->_reader->getH1( $this->_reader->toGemini( - file_get_contents( + $this->_filesystem->getData( $file ) ) @@ -141,7 +141,7 @@ class Helper ), $this->_reader->getH1( $this->_reader->toGemini( - file_get_contents( + $this->_filesystem->getData( $path ) )