fix read file

This commit is contained in:
Saeed Vaziry
2024-04-14 17:53:08 +02:00
parent 72b37c56fd
commit 5ab6617b5d
5 changed files with 21 additions and 19 deletions

View File

@ -93,7 +93,7 @@ public function write($buf): void
public function getContent(): ?string
{
if ($this->is_remote) {
return $this->server->os()->readFile($this->name, 150);
return $this->server->os()->tail($this->name, 150);
}
if (Storage::disk($this->disk)->exists($this->name)) {