From 36d30c1fcfdb5ec83ea3d4635b6944d51063a8dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Tr=C3=A1vn=C3=AD=C4=8Dek?= Date: Fri, 9 Jun 2017 11:50:01 +0200 Subject: [PATCH] Dibi\Bridges\Tracy\Panel: host added to tracy panel [closes #250] (#251) --- src/Dibi/Bridges/Tracy/Panel.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Dibi/Bridges/Tracy/Panel.php b/src/Dibi/Bridges/Tracy/Panel.php index 02452604..5d57e79c 100644 --- a/src/Dibi/Bridges/Tracy/Panel.php +++ b/src/Dibi/Bridges/Tracy/Panel.php @@ -143,7 +143,8 @@ class Panel implements Tracy\IBarPanel #tracy-debug tracy-DibiProfiler tr table { margin: 8px 0; max-height: 150px; overflow:auto }

Queries: ' . count($this->events) . ($totalTime === NULL ? '' : sprintf(', time: %0.3f ms', $totalTime * 1000)) . ', ' - . htmlSpecialChars($connection->getConfig('driver') . ($connection->getConfig('name') ? '/' . $connection->getConfig('name') : '')) . '

+ . htmlSpecialChars($connection->getConfig('driver') . ($connection->getConfig('name') ? '/' . $connection->getConfig('name') : '') + . ($connection->getConfig('host') ? ' @ ' . $connection->getConfig('host') : '')) . '
' . $s . '
Time msSQL StatementRows