mirror of
https://github.com/filegator/filegator.git
synced 2025-08-06 16:26:48 +02:00
fix/test: create empty zip archive is futile
This commit is contained in:
@@ -47,13 +47,7 @@ class Tmpfs implements Service, TmpfsInterface
|
||||
{
|
||||
$filename = $this->sanitizeFilename($filename);
|
||||
|
||||
$realPath = $this->getPath().$filename;
|
||||
|
||||
if (! is_file($realPath)) {
|
||||
touch($realPath);
|
||||
}
|
||||
|
||||
return $realPath;
|
||||
return $this->getPath().$filename;
|
||||
}
|
||||
|
||||
public function read(string $filename): string
|
||||
|
Reference in New Issue
Block a user