Merge pull request #462 from nextcloud/master-explode

[master] Use explode() instead of split()
This commit is contained in:
Morris Jobke 2016-07-20 18:31:11 +02:00 committed by GitHub
commit e9c85e02ac

View file

@ -192,7 +192,7 @@ class OC_Files {
* @return array $rangeArray ('from'=>int,'to'=>int), ...
*/
private static function parseHttpRangeHeader($rangeHeaderPos, $fileSize) {
$rArray=split(',', $rangeHeaderPos);
$rArray=explode(',', $rangeHeaderPos);
$minOffset = 0;
$ind = 0;