mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
- 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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user