diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-03-31 16:20:32 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-03-31 16:20:32 +0200 |
commit | b72d7f1ab324aa5669a1cce69564ff7b10551084 (patch) | |
tree | 8dcdc50e903f26ffa512fe24983c3b0319c5d757 /lib/eventsource.php | |
parent | ad495a92180da7e5dc369f7d8606a525dfe8a4e5 (diff) | |
download | nextcloud-server-b72d7f1ab324aa5669a1cce69564ff7b10551084.tar.gz nextcloud-server-b72d7f1ab324aa5669a1cce69564ff7b10551084.zip |
make sure output buffering is dissabled when using eventsource
Diffstat (limited to 'lib/eventsource.php')
-rw-r--r-- | lib/eventsource.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/eventsource.php b/lib/eventsource.php index 523f72403c3..dc28616c2dd 100644 --- a/lib/eventsource.php +++ b/lib/eventsource.php @@ -32,6 +32,7 @@ class OC_EventSource{ private $fallBackId=0; public function __construct(){ + @ob_end_clean(); header('Cache-Control: no-cache'); $this->fallback=isset($_GET['fallback']) and $_GET['fallback']=='true'; if($this->fallback){ |