summaryrefslogtreecommitdiffstats
path: root/lib/connector
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-07-16 19:55:53 +0200
committerRobin Appelman <icewind@owncloud.com>2012-07-16 19:58:05 +0200
commitf047fdbfaa653a3f745d3911df125b02ecb2556c (patch)
tree59098b4933dc0d1144490487fe55154f75e0b20c /lib/connector
parent7ab35af6dd9f0338f0a239aab20c045cfcbd34b5 (diff)
downloadnextcloud-server-f047fdbfaa653a3f745d3911df125b02ecb2556c.tar.gz
nextcloud-server-f047fdbfaa653a3f745d3911df125b02ecb2556c.zip
revert to using fopen for webdav instead of readfile
Diffstat (limited to 'lib/connector')
-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 e4dc8c93445..4700dbf8b89 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,'rb');
}