Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-03-31 18:20:32 +0400
committerRobin Appelman <icewind@owncloud.com>2012-03-31 18:20:32 +0400
commitb72d7f1ab324aa5669a1cce69564ff7b10551084 (patch)
tree8dcdc50e903f26ffa512fe24983c3b0319c5d757 /lib/eventsource.php
parentad495a92180da7e5dc369f7d8606a525dfe8a4e5 (diff)
make sure output buffering is dissabled when using eventsource
Diffstat (limited to 'lib/eventsource.php')
-rw-r--r--lib/eventsource.php1
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){