mirror of
https://github.com/YGGverse/gemini-php.git
synced 2026-04-01 01:15:28 +00:00
use Filesystem::getData method
This commit is contained in:
parent
b82a2de231
commit
9601b3d6ca
1 changed files with 3 additions and 3 deletions
|
|
@ -53,7 +53,7 @@ class Helper
|
||||||
{
|
{
|
||||||
$h1 = $this->_reader->getH1(
|
$h1 = $this->_reader->getH1(
|
||||||
$this->_reader->toGemini(
|
$this->_reader->toGemini(
|
||||||
file_get_contents(
|
$this->_filesystem->getData(
|
||||||
$file
|
$file
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
@ -65,7 +65,7 @@ class Helper
|
||||||
{
|
{
|
||||||
$h1 = $this->_reader->getH1(
|
$h1 = $this->_reader->getH1(
|
||||||
$this->_reader->toGemini(
|
$this->_reader->toGemini(
|
||||||
file_get_contents(
|
$this->_filesystem->getData(
|
||||||
$file
|
$file
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
@ -141,7 +141,7 @@ class Helper
|
||||||
),
|
),
|
||||||
$this->_reader->getH1(
|
$this->_reader->getH1(
|
||||||
$this->_reader->toGemini(
|
$this->_reader->toGemini(
|
||||||
file_get_contents(
|
$this->_filesystem->getData(
|
||||||
$path
|
$path
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue