1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

[ticket/11189] Replace DEBUG_EXTRA with DEBUG

PHPBB3-11189
This commit is contained in:
Nathaniel Guse
2012-11-10 10:45:02 -06:00
parent 7085a6c74d
commit bd37f7f6c0
20 changed files with 51 additions and 53 deletions

View File

@@ -150,7 +150,7 @@ if ($config['gzip_compress'])
}
// IF debug extra is enabled and admin want to "explain" the page we need to set other headers...
if (defined('DEBUG_EXTRA') && request_var('explain', 0) && $auth->acl_get('a_'))
if (defined('DEBUG') && request_var('explain', 0) && $auth->acl_get('a_'))
{
header('Content-type: text/html; charset=UTF-8');
header('Cache-Control: private, no-cache="set-cookie"');