Update common.php
This commit is contained in:
parent
e859347ae3
commit
ec73db9f63
|
@ -651,10 +651,10 @@ function main($path)
|
|||
$t = explode("/", $e)[1];
|
||||
$e = explode("/", $e)[0];
|
||||
error_log('Range:'.$head['Content-Range'].' end:'.$e.' total:'.$t);
|
||||
if ($s==0) { $sendHeaders = array();
|
||||
/*if ($s==0) { $sendHeaders = array();
|
||||
foreach ($head as $headerName => $headerVal) {
|
||||
header($headerName . ': ' . $headerVal, true);
|
||||
} }
|
||||
} } */
|
||||
$s = $e+1;
|
||||
if ($s==$t) $response['stat'] = 200;
|
||||
ob_clean();
|
||||
|
|
Loading…
Reference in New Issue