Skip to content

Commit

Permalink
ob_start() is marked as PHP_OUTPUT_HANDLER_CLEANABLE (is not flushable)
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Feb 5, 2016
1 parent 6dd5dda commit 2e47b23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Bridges/DatabaseTracy/ConnectionPanel.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public function getTab()
$name = $this->name;
$count = $this->count;
$totalTime = $this->totalTime;
ob_start(NULL, 0, PHP_OUTPUT_HANDLER_REMOVABLE);
ob_start(NULL, 0, PHP_OUTPUT_HANDLER_REMOVABLE | PHP_OUTPUT_HANDLER_CLEANABLE);
require __DIR__ . '/templates/ConnectionPanel.tab.phtml';
return ob_get_clean();
}
Expand Down Expand Up @@ -131,7 +131,7 @@ public function getPanel()
$queries[] = $query;
}

ob_start(NULL, 0, PHP_OUTPUT_HANDLER_REMOVABLE);
ob_start(NULL, 0, PHP_OUTPUT_HANDLER_REMOVABLE | PHP_OUTPUT_HANDLER_CLEANABLE);
require __DIR__ . '/templates/ConnectionPanel.panel.phtml';
return ob_get_clean();
}
Expand Down

0 comments on commit 2e47b23

Please sign in to comment.