Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

…k/moodle
  • Loading branch information...
commit 102cb3c1a6cfcc0c40d0c6ea446e918c6d0c5d20 2 parents 0e9fe66 + dd3b7e7
Eloy Lafuente (stronk7) stronk7 authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  lib/filelib.php
2  lib/filelib.php
@@ -1712,7 +1712,7 @@ function send_file($path, $filename, $lifetime = 'default' , $filter=0, $pathiss
1712 1712 $ranges = false;
1713 1713 }
1714 1714 if ($ranges) {
1715   - $handle = fopen($filename, 'rb');
  1715 + $handle = fopen($path, 'rb');
1716 1716 byteserving_send_file($handle, $mimetype, $ranges, $filesize);
1717 1717 }
1718 1718 }

0 comments on commit 102cb3c

Please sign in to comment.
Something went wrong with that request. Please try again.