Merge pull request #2214 from riso/fix_xsendfile

Fixed typo that broke xsendfile
This commit is contained in:
Lukas Reschke 2013-03-09 08:20:09 -08:00
commit 0fa12f8d85
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ class OC_Files {
header('Content-Type: '.\OC\Files\Filesystem::getMimeType($filename));
header("Content-Length: ".\OC\Files\Filesystem::filesize($filename));
list($storage) = \OC\Files\Filesystem::resolvePath($filename);
if ($storage instanceof \OC\File\Storage\Local) {
if ($storage instanceof \OC\Files\Storage\Local) {
self::addSendfileHeader(\OC\Files\Filesystem::getLocalFile($filename));
}
}