aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/File_upload.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-11-30 19:05:24 -0800
committerzotlabs <mike@macgirvin.com>2017-11-30 19:05:24 -0800
commit0e8e0b48b3fd6f4d6d0dd60039743371930af08d (patch)
tree6336317a2295344f112470f6778821aaebf9c1bc /Zotlabs/Module/File_upload.php
parentcc0d53e6959f333d26003af64439b2fd8a8d665c (diff)
downloadvolse-hubzilla-0e8e0b48b3fd6f4d6d0dd60039743371930af08d.tar.gz
volse-hubzilla-0e8e0b48b3fd6f4d6d0dd60039743371930af08d.tar.bz2
volse-hubzilla-0e8e0b48b3fd6f4d6d0dd60039743371930af08d.zip
more or less working chunked uploads on /cloud now.
Diffstat (limited to 'Zotlabs/Module/File_upload.php')
-rw-r--r--Zotlabs/Module/File_upload.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/Zotlabs/Module/File_upload.php b/Zotlabs/Module/File_upload.php
index e2a6d45e5..90761fa9c 100644
--- a/Zotlabs/Module/File_upload.php
+++ b/Zotlabs/Module/File_upload.php
@@ -64,6 +64,8 @@ class File_upload extends \Zotlabs\Web\Controller {
if($partial) {
$x = save_chunk($channel,$matches[1],$matches[2],$matches[3]);
+
+logger('save_chunk: ' . print_r($x,true));
if($x['partial']) {
header('Range: bytes=0-' . (($x['length']) ? $x['length'] - 1 : 0));
json_return_and_die($result);