Fix tempory file path

FossilOrigin-Name: 2339c70882e145e0dfbc54dd053f639ce964e1130b250ac8f5f16a985debef63
This commit is contained in:
bohwaz 2022-11-22 23:46:06 +00:00
parent 5728ce7727
commit a8df502510

View file

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