[master] Use explode() instead of split()

Sync from https://github.com/owncloud/core/pull/25488
This commit is contained in:
Lukas Reschke 2016-07-20 14:36:39 +02:00
parent f414c664f2
commit 4f90447150
No known key found for this signature in database
GPG key ID: B9F6980CF6E759B1

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;