Permalink
Browse files

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

…k/moodle
  • Loading branch information...
2 parents 0e9fe66 + dd3b7e7 commit 102cb3c1a6cfcc0c40d0c6ea446e918c6d0c5d20 @stronk7 stronk7 committed Feb 14, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/filelib.php
View
@@ -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);
}
}

0 comments on commit 102cb3c

Please sign in to comment.