1
0
Ver Fonte

Fix tempory file path

bohwaz há 2 anos atrás
pai
commit
fe645d71da
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      server.php

+ 1 - 1
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)) {