Skip to content

Commit 5508e38

Browse files
committed
SessionPanel: ignores Tracy data
1 parent 6d7ebe1 commit 5508e38

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Bridges/HttpTracy/templates/SessionPanel.panel.phtml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ use Nette,
3333
foreach ($_SESSION as $k => $v) {
3434
if ($k === '__NF') {
3535
$k = 'Nette Session'; $v = isset($v['DATA']) ? $v['DATA'] : NULL;
36+
} elseif ($k === '_tracy') {
37+
continue;
3638
}
3739
echo '<tr><th>', htmlspecialchars($k, ENT_IGNORE, 'UTF-8'), '</th><td>', Dumper::toHtml($v, [Dumper::LIVE => TRUE]), "</td></tr>\n";
3840
}?>

0 commit comments

Comments
 (0)