diff --git a/src/Bridges/HttpTracy/SessionPanel.php b/src/Bridges/HttpTracy/SessionPanel.php index 9c9cf6d1..31aeb230 100644 --- a/src/Bridges/HttpTracy/SessionPanel.php +++ b/src/Bridges/HttpTracy/SessionPanel.php @@ -23,7 +23,7 @@ class SessionPanel extends Nette\Object implements Tracy\IBarPanel */ public function getTab() { - ob_start(NULL, 0, PHP_OUTPUT_HANDLER_REMOVABLE); + ob_start(); require __DIR__ . '/templates/SessionPanel.tab.phtml'; return ob_get_clean(); } @@ -35,7 +35,7 @@ public function getTab() */ public function getPanel() { - ob_start(NULL, 0, PHP_OUTPUT_HANDLER_REMOVABLE); + ob_start(); require __DIR__ . '/templates/SessionPanel.panel.phtml'; return ob_get_clean(); }