Make OC_Connector_Sabre_File::get() return a PHP stream instead of the file content, as is recommended by SabreDAV to handle large files.
This commit is contained in:
parent
97291fda58
commit
452a463764
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ class OC_Connector_Sabre_File extends OC_Connector_Sabre_Node implements Sabre_D
|
|||
*/
|
||||
public function get() {
|
||||
|
||||
return OC_Filesystem::file_get_contents($this->path);
|
||||
return OC_Filesystem::fopen($this->path,'r');
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue