mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/11189] Replace DEBUG_EXTRA with DEBUG
PHPBB3-11189
This commit is contained in:
@@ -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"');
|
||||
|
Reference in New Issue
Block a user