diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2012-11-29 13:50:49 -0800 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2012-11-29 13:50:49 -0800 |
commit | 9b709fa95df5b93b9fb05e33158122003891c154 (patch) | |
tree | 4ffa9874347b40cb23552387fc0dc43c8a5d9c0d /lib/filesystemview.php | |
parent | c38a75e03f9db02b82e71472d2f719079eb44829 (diff) | |
parent | bcb27c81d479c49613094fe6c147af5bdea3ea3c (diff) | |
download | nextcloud-server-9b709fa95df5b93b9fb05e33158122003891c154.tar.gz nextcloud-server-9b709fa95df5b93b9fb05e33158122003891c154.zip |
Merge pull request #635 from owncloud/ob_end
provide a safe way to end output buffering
Diffstat (limited to 'lib/filesystemview.php')
-rw-r--r-- | lib/filesystemview.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/filesystemview.php b/lib/filesystemview.php index 0229213ebcb..1185c25c240 100644 --- a/lib/filesystemview.php +++ b/lib/filesystemview.php @@ -195,7 +195,7 @@ class OC_FilesystemView { return $this->basicOperation('filesize', $path); } public function readfile($path) { - @ob_end_clean(); + OC_Util::obEnd(); $handle=$this->fopen($path, 'rb'); if ($handle) { $chunkSize = 8192;// 8 MB chunks |