diff options
author | Valerio Ponte <valerio.ponte@gmail.com> | 2013-03-09 15:35:36 +0100 |
---|---|---|
committer | Valerio Ponte <valerio.ponte@gmail.com> | 2013-03-09 15:35:36 +0100 |
commit | 99c873ea29d3e970bf5d706a2da446a8ee91595f (patch) | |
tree | 64489f4f9be0cdaa19129082f6ea45d8845ebea7 /lib/files.php | |
parent | 4763c4616fdbb25fd862bf6e3c03e7f606467eeb (diff) | |
download | nextcloud-server-99c873ea29d3e970bf5d706a2da446a8ee91595f.tar.gz nextcloud-server-99c873ea29d3e970bf5d706a2da446a8ee91595f.zip |
fixed typo that broke xsendfile
Diffstat (limited to 'lib/files.php')
-rw-r--r-- | lib/files.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/files.php b/lib/files.php index 71bb21851b6..2433502444c 100644 --- a/lib/files.php +++ b/lib/files.php @@ -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)); } } |