From 9948322ab5b212c6dfa22ebb47aab08bd0117a4c Mon Sep 17 00:00:00 2001 From: David Grudl Date: Mon, 8 Feb 2016 14:24:07 +0100 Subject: [PATCH] Revert "ob_start() is marked as PHP_OUTPUT_HANDLER_REMOVABLE (i.e. it is not flushable)" This reverts commit d5fa57b812fd4ee4b2e78d411333a5a1033bff5d. --- src/Bridges/DatabaseTracy/ConnectionPanel.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Bridges/DatabaseTracy/ConnectionPanel.php b/src/Bridges/DatabaseTracy/ConnectionPanel.php index a5c0c99f1..01280cd59 100644 --- a/src/Bridges/DatabaseTracy/ConnectionPanel.php +++ b/src/Bridges/DatabaseTracy/ConnectionPanel.php @@ -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(); require __DIR__ . '/templates/ConnectionPanel.tab.phtml'; return ob_get_clean(); } @@ -131,7 +131,7 @@ public function getPanel() $queries[] = $query; } - ob_start(NULL, 0, PHP_OUTPUT_HANDLER_REMOVABLE); + ob_start(); require __DIR__ . '/templates/ConnectionPanel.panel.phtml'; return ob_get_clean(); }