aboutsummaryrefslogtreecommitdiffstats
path: root/include/page_tail.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/page_tail.php')
-rw-r--r--include/page_tail.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/page_tail.php b/include/page_tail.php
index 33f6900cf..f2a719e3d 100644
--- a/include/page_tail.php
+++ b/include/page_tail.php
@@ -54,6 +54,14 @@ if ($conf['show_gt'])
'SQL_TIME' => number_format($page['queries_time'],3,'.',' ').' s'));
}
+if ($conf['show_queries'])
+{
+ $template->assign_block_vars(
+ 'debug',
+ array('QUERIES_LIST' => $debug)
+ );
+}
+
//--------------------------------------------------------------------- contact
if (!$user['is_the_guest'])