Skip to content
Snippets Groups Projects
Commit e9c85e02 authored by Morris Jobke's avatar Morris Jobke Committed by GitHub
Browse files

Merge pull request #462 from nextcloud/master-explode

[master] Use explode() instead of split()
parents e2abe705 4f904471
No related branches found
No related tags found
No related merge requests found
...@@ -192,7 +192,7 @@ class OC_Files { ...@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment