diff options
author | nikrou <nikrou@piwigo.org> | 2006-01-21 20:38:29 +0000 |
---|---|---|
committer | nikrou <nikrou@piwigo.org> | 2006-01-21 20:38:29 +0000 |
commit | 02f08d3c4fc7154f0c2b0157e531e0b256c6f0ba (patch) | |
tree | c05fcdc0bc6c46580877a8282cf2eeb21d1a0ef9 /include/page_tail.php | |
parent | 0b28c9da75d677e4cedacdfdd865732a333de11c (diff) |
merge branch 1.5 r1010:1011 into BSF:
- bug 268 fixed: display debug content correctly
git-svn-id: http://piwigo.org/svn/trunk@1012 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/page_tail.php')
-rw-r--r-- | include/page_tail.php | 8 |
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']) |