From: Robin Appelman Date: Thu, 19 Jul 2012 16:13:10 +0000 (+0200) Subject: Revert "use readfile() instead iof fopen() for file download over webdav." X-Git-Tag: v4.0.6~19 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e52ab59b404d6d35ed8619da35b1f70404359212;p=nextcloud-server.git Revert "use readfile() instead iof fopen() for file download over webdav." This reverts commit 9af74a9c80c074589f2d5efc365b3a9dee3031ed. --- diff --git a/lib/connector/sabre/file.php b/lib/connector/sabre/file.php index e177946aa42..3ba1b3355f2 100644 --- a/lib/connector/sabre/file.php +++ b/lib/connector/sabre/file.php @@ -42,7 +42,7 @@ class OC_Connector_Sabre_File extends OC_Connector_Sabre_Node implements Sabre_D */ public function get() { - return OC_Filesystem::readfile($this->path); + return OC_Filesystem::fopen($this->path,'r'); }