Browse Source

fixed typo that broke xsendfile

tags/v5.0.0
Valerio Ponte 11 years ago
parent
commit
99c873ea29
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      lib/files.php

+ 1
- 1
lib/files.php 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));
}
}

Loading…
Cancel
Save