aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/page_header.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/page_header.php')
-rw-r--r--phpBB/includes/page_header.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/page_header.php b/phpBB/includes/page_header.php
index 6e5a14fcc2..55504d505b 100644
--- a/phpBB/includes/page_header.php
+++ b/phpBB/includes/page_header.php
@@ -29,7 +29,7 @@ define('HEADER_INC', TRUE);
// gzip_compression
if ($config['gzip_compress'])
{
- if (extension_loaded('zlib') && strstr($HTTP_USER_AGENT,'compatible') && !headers_sent())
+ if (extension_loaded('zlib') && !headers_sent())
{
ob_start('ob_gzhandler');
}
@@ -306,7 +306,7 @@ $template->assign_vars(array(
'U_SEARCH' => 'search.'.$phpEx.$SID,
'U_REGISTER' => 'ucp.'.$phpEx.$SID.'&mode=register',
'U_PROFILE' => 'ucp.'.$phpEx.$SID.'&mode=editprofile',
- 'U_MODCP' => 'modcp.'.$phpEx.$SID,
+ 'U_MODCP' => 'mcp.'.$phpEx.$SID,
'U_FAQ' => 'faq.'.$phpEx.$SID,
'U_SEARCH_SELF' => 'search.'.$phpEx.$SID.'&search_id=egosearch',
'U_SEARCH_NEW' => 'search.'.$phpEx.$SID.'&search_id=newposts',