Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'w07_MDL-26294_20_byteserving' of git://github.com/skoda…

…k/moodle
  • Loading branch information...
commit 102cb3c1a6cfcc0c40d0c6ea446e918c6d0c5d20 2 parents 0e9fe66 + dd3b7e7
@stronk7 stronk7 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/filelib.php
View
2  lib/filelib.php
@@ -1712,7 +1712,7 @@ function send_file($path, $filename, $lifetime = 'default' , $filter=0, $pathiss
$ranges = false;
}
if ($ranges) {
- $handle = fopen($filename, 'rb');
+ $handle = fopen($path, 'rb');
byteserving_send_file($handle, $mimetype, $ranges, $filesize);
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.