mirror of
https://github.com/filegator/filegator.git
synced 2025-08-05 03:37:53 +02:00
Fix: merging chunks after upload
This commit is contained in:
@@ -99,7 +99,7 @@ class UploadController
|
||||
if ($chunks_size >= $total_size) {
|
||||
for ($i = 1; $i <= $total_chunks; ++$i) {
|
||||
$part = $this->tmpfs->readStream($prefix.$file_name.'.part'.$i);
|
||||
$this->tmpfs->write($file_name, $part['stream']);
|
||||
$this->tmpfs->write($file_name, $part['stream'], true);
|
||||
}
|
||||
|
||||
$final = $this->tmpfs->readStream($file_name);
|
||||
|
Reference in New Issue
Block a user