mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Revert "use readfile() instead iof fopen() for file download over webdav."
This reverts commit 9af74a9c80.
This commit is contained in:
parent
10bf36a6ae
commit
e52ab59b40
1 changed files with 1 additions and 1 deletions
|
|
@ -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');
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue