Merge pull request #462 from nextcloud/master-explode
[master] Use explode() instead of split()
This commit is contained in:
commit
e9c85e02ac
|
@ -192,7 +192,7 @@ class OC_Files {
|
||||||
* @return array $rangeArray ('from'=>int,'to'=>int), ...
|
* @return array $rangeArray ('from'=>int,'to'=>int), ...
|
||||||
*/
|
*/
|
||||||
private static function parseHttpRangeHeader($rangeHeaderPos, $fileSize) {
|
private static function parseHttpRangeHeader($rangeHeaderPos, $fileSize) {
|
||||||
$rArray=split(',', $rangeHeaderPos);
|
$rArray=explode(',', $rangeHeaderPos);
|
||||||
$minOffset = 0;
|
$minOffset = 0;
|
||||||
$ind = 0;
|
$ind = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue