more chunk work

This commit is contained in:
zotlabs
2017-11-28 17:37:18 -08:00
parent df45c13f62
commit 76703dee84
4 changed files with 29 additions and 24 deletions

View File

@@ -2506,7 +2506,7 @@ function save_chunk($channel,$start,$end,$len) {
}
if(($len - 1) == $end) {
unlink($tmp_path);
$result['name'] = $_FILES['files']['tmp_name'];
$result['name'] = $_FILES['files']['name'];
$result['type'] = $_FILES['files']['type'];
$result['tmp_name'] = $new_path;
$result['error'] = 0;