Improve display of debugging queries

This commit is contained in:
Marc Delisle
2011-02-20 07:04:08 -05:00
parent b5c9a2e2b7
commit aa0d3cfc4a

View File

@@ -79,7 +79,7 @@ if (! empty($_SESSION['debug'])) {
} }
echo '<div>'; echo '<div>';
echo count($_SESSION['debug']['queries']) . ' queries executed' echo count($_SESSION['debug']['queries']) . ' queries executed '
. $sum_exec . ' times in ' . $sum_time . ' seconds'; . $sum_exec . ' times in ' . $sum_time . ' seconds';
echo '<pre>'; echo '<pre>';
print_r($_SESSION['debug']); print_r($_SESSION['debug']);