fix the file chunking api now that we've got working data to test with

This commit is contained in:
redmatrix 2015-11-05 00:00:41 -08:00
parent 2ebd9a2774
commit 58fe4f5cb3
2 changed files with 2 additions and 2 deletions

View File

@ -673,7 +673,7 @@ require_once('include/attach.php');
$ptr['data'] = base64_encode($x); $ptr['data'] = base64_encode($x);
} }
else { else {
$fp = fopen(dbunescbin($ptr['data'],'r')); $fp = fopen(dbunescbin($ptr['data']),'r');
if($fp) { if($fp) {
$seek = fseek($fp,$start,SEEK_SET); $seek = fseek($fp,$start,SEEK_SET);
$x = fread($fp,$length); $x = fread($fp,$length);

View File

@ -1 +1 @@
2015-11-04.1206 2015-11-05.1207