Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-07-19 20:13:10 +0400
committerRobin Appelman <icewind@owncloud.com>2012-07-19 20:13:10 +0400
commite52ab59b404d6d35ed8619da35b1f70404359212 (patch)
tree2a4cea545bbb46eecbb1b2d4e18beb01b1969312 /lib
parent10bf36a6ae022f54797d12ab756ad78e4a9ffe5a (diff)
Revert "use readfile() instead iof fopen() for file download over webdav."
This reverts commit 9af74a9c80c074589f2d5efc365b3a9dee3031ed.
Diffstat (limited to 'lib')
-rw-r--r--lib/connector/sabre/file.php2
1 files changed, 1 insertions, 1 deletions
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');
}