From a8df502510890f68ac59bfbf330545c8afd00b01 Mon Sep 17 00:00:00 2001 From: bohwaz Date: Tue, 22 Nov 2022 23:46:06 +0000 Subject: [PATCH] Fix tempory file path FossilOrigin-Name: 2339c70882e145e0dfbc54dd053f639ce964e1130b250ac8f5f16a985debef63 --- server.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.php b/server.php index 8437f51..e58557a 100644 --- a/server.php +++ b/server.php @@ -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)) {