From 99c873ea29d3e970bf5d706a2da446a8ee91595f Mon Sep 17 00:00:00 2001 From: Valerio Ponte Date: Sat, 9 Mar 2013 15:35:36 +0100 Subject: [PATCH] fixed typo that broke xsendfile --- lib/files.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/files.php b/lib/files.php index 71bb21851b..2433502444 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)); } }