bug 268 fixed: display debug content correctly

git-svn-id: http://piwigo.org/svn/branches/branch-1_5@1011 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
nikrou
2006-01-21 20:32:09 +00:00
parent 71d78a813f
commit 1d46a96621
3 changed files with 17 additions and 5 deletions
+8
View File
@@ -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'])