make sure output buffering is dissabled when using eventsource
This commit is contained in:
parent
ad495a9218
commit
b72d7f1ab3
1 changed files with 1 additions and 0 deletions
|
@ -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){
|
||||
|
|
Loading…
Reference in a new issue