make sure output buffering is dissabled when using eventsource

This commit is contained in:
Robin Appelman 2012-03-31 16:20:32 +02:00
parent ad495a9218
commit b72d7f1ab3
1 changed files with 1 additions and 0 deletions

View File

@ -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){