aboutsummaryrefslogtreecommitdiffstats
path: root/include/page_tail.php
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2004-11-05 21:36:35 +0000
committerz0rglub <z0rglub@piwigo.org>2004-11-05 21:36:35 +0000
commitfb53abe3bdb0746f52934b84e1627c6ff99c5339 (patch)
tree744de2591c0b7e171d48af0d9668fbb3db3b3355 /include/page_tail.php
parentd2884e69ce33718e83f7da93adae0ba8a86d68cc (diff)
- DEFAULT_LANGUAGE constant moved to $conf['default_language']
- DEBUG constant divided into $conf['show_queries'] and $conf['show_gt'] (display generation time at the bottom of each page) git-svn-id: http://piwigo.org/svn/trunk@592 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/page_tail.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/page_tail.php b/include/page_tail.php
index c8193d813..c3dbd1cae 100644
--- a/include/page_tail.php
+++ b/include/page_tail.php
@@ -43,8 +43,7 @@ $template->assign_vars(
));
-//if (DEBUG)
-if (true)
+if ($conf['show_gt'])
{
$template->assign_block_vars('debug', array());
}