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