diff options
| author | Andreas Fischer <bantu@phpbb.com> | 2012-11-10 23:39:00 +0100 |
|---|---|---|
| committer | Andreas Fischer <bantu@phpbb.com> | 2012-11-10 23:39:00 +0100 |
| commit | 847feb07e784ccbe646257553f1efba8c5032b7f (patch) | |
| tree | 78860eb01da03d27f2c7c0c016556de596967010 /phpBB/includes/functions_acp.php | |
| parent | f0cfae1f014e5defd373bac74b5d915fc3568c7a (diff) | |
| parent | bd37f7f6c04780819dfa8f81b2d761b91859fd67 (diff) | |
| download | forums-847feb07e784ccbe646257553f1efba8c5032b7f.tar forums-847feb07e784ccbe646257553f1efba8c5032b7f.tar.gz forums-847feb07e784ccbe646257553f1efba8c5032b7f.tar.bz2 forums-847feb07e784ccbe646257553f1efba8c5032b7f.tar.xz forums-847feb07e784ccbe646257553f1efba8c5032b7f.zip | |
Merge remote-tracking branch 'EXreaction/ticket/11189' into develop
* EXreaction/ticket/11189:
[ticket/11189] Replace DEBUG_EXTRA with DEBUG
[ticket/11189] Always log critical errors when in cron or in image output
Diffstat (limited to 'phpBB/includes/functions_acp.php')
| -rw-r--r-- | phpBB/includes/functions_acp.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions_acp.php b/phpBB/includes/functions_acp.php index 11cc1f6dd8..2f3fd7bac0 100644 --- a/phpBB/includes/functions_acp.php +++ b/phpBB/includes/functions_acp.php @@ -145,14 +145,14 @@ function adm_page_footer($copyright_html = true) $mtime = explode(' ', microtime()); $totaltime = $mtime[0] + $mtime[1] - $starttime; - if ($request->variable('explain', false) && $auth->acl_get('a_') && defined('DEBUG_EXTRA') && method_exists($db, 'sql_report')) + if ($request->variable('explain', false) && $auth->acl_get('a_') && defined('DEBUG') && method_exists($db, 'sql_report')) { $db->sql_report('display'); } $debug_output = sprintf('Time : %.3fs | ' . $db->sql_num_queries() . ' Queries | GZIP : ' . (($config['gzip_compress']) ? 'On' : 'Off') . (($user->load) ? ' | Load : ' . $user->load : ''), $totaltime); - if ($auth->acl_get('a_') && defined('DEBUG_EXTRA')) + if ($auth->acl_get('a_') && defined('DEBUG')) { if (function_exists('memory_get_peak_usage')) { |
