Skip to content
Snippets Groups Projects
Commit b72d7f1a authored by Robin Appelman's avatar Robin Appelman
Browse files

make sure output buffering is dissabled when using eventsource

parent ad495a92
No related branches found
No related tags found
No related merge requests found
......@@ -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){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment