- 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
This commit is contained in:
z0rglub
2004-11-05 21:36:35 +00:00
parent d2884e69ce
commit fb53abe3bd
5 changed files with 16 additions and 9 deletions
+3 -1
View File
@@ -446,10 +446,12 @@ function pwg_write_debug()
function pwg_query($query)
{
global $conf;
$start = get_moment();
$result = mysql_query($query);
if (DEBUG)
if ($conf['show_queries'])
{
global $count_queries,$queries_time;