Fix tempory file path

This commit is contained in:
bohwaz 2022-11-23 00:46:06 +01:00
parent 54bfe66296
commit fe645d71da
1 changed files with 1 additions and 1 deletions

View File

@ -310,7 +310,7 @@ namespace PicoDAV
$size = 0;
$quota = disk_free_space($this->path);
$tmp_file = '.tmp.' . sha1($target);
$tmp_file = $this->path . '.tmp.' . sha1($target);
$out = fopen($tmp_file, 'w');
while (!feof($pointer)) {