From 5508e38742c61af32bbd723c37115cdc33d01c26 Mon Sep 17 00:00:00 2001 From: David Grudl Date: Tue, 7 Jun 2016 18:17:12 +0200 Subject: [PATCH] SessionPanel: ignores Tracy data --- src/Bridges/HttpTracy/templates/SessionPanel.panel.phtml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Bridges/HttpTracy/templates/SessionPanel.panel.phtml b/src/Bridges/HttpTracy/templates/SessionPanel.panel.phtml index 20f00306..fa9def11 100644 --- a/src/Bridges/HttpTracy/templates/SessionPanel.panel.phtml +++ b/src/Bridges/HttpTracy/templates/SessionPanel.panel.phtml @@ -33,6 +33,8 @@ use Nette, foreach ($_SESSION as $k => $v) { if ($k === '__NF') { $k = 'Nette Session'; $v = isset($v['DATA']) ? $v['DATA'] : NULL; + } elseif ($k === '_tracy') { + continue; } echo '', htmlspecialchars($k, ENT_IGNORE, 'UTF-8'), '', Dumper::toHtml($v, [Dumper::LIVE => TRUE]), "\n"; }?>