aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/adm/index.php
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2006-09-17 22:02:28 +0000
committerNils Adermann <naderman@naderman.de>2006-09-17 22:02:28 +0000
commitea065f3e67ee0c0cb28c88569042461dd8cf2c27 (patch)
tree69f31f549e0020a741f6320000cd20f822bf7bc5 /phpBB/adm/index.php
parente2ac2f9d7dda112adb9a548c8913108f83fb6391 (diff)
downloadforums-ea065f3e67ee0c0cb28c88569042461dd8cf2c27.tar
forums-ea065f3e67ee0c0cb28c88569042461dd8cf2c27.tar.gz
forums-ea065f3e67ee0c0cb28c88569042461dd8cf2c27.tar.bz2
forums-ea065f3e67ee0c0cb28c88569042461dd8cf2c27.tar.xz
forums-ea065f3e67ee0c0cb28c88569042461dd8cf2c27.zip
- no more encoding mixture, say hello to UTF-8 (I'll add a validation solution for PHP 4.3.3/4 ASAP) [side effect: fixes Bug #3762]
- take local server time into consideration for birthday/age calculation - faster active topic search - allow changing active topic time frame [Bug #4150] - reload stylesheet on language change [Bug #4222] git-svn-id: file:///svn/phpbb/trunk@6380 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/adm/index.php')
-rw-r--r--phpBB/adm/index.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/adm/index.php b/phpBB/adm/index.php
index 5576098cef..95539bd45d 100644
--- a/phpBB/adm/index.php
+++ b/phpBB/adm/index.php
@@ -148,14 +148,14 @@ function adm_page_header($page_title)
'ICON_SYNC_DISABLED' => '<img src="' . $phpbb_admin_path . 'images/icon_sync_disabled.gif" alt="' . $user->lang['RESYNC'] . '" title="' . $user->lang['RESYNC'] . '" />',
'S_CONTENT_DIRECTION' => $user->lang['DIRECTION'],
- 'S_CONTENT_ENCODING' => $user->lang['ENCODING'],
+ 'S_CONTENT_ENCODING' => 'UTF-8',
'S_CONTENT_DIR_LEFT' => $user->lang['LEFT'],
'S_CONTENT_DIR_RIGHT' => $user->lang['RIGHT'])
);
- if (!empty($config['send_encoding']))
+ if ($config['send_encoding'])
{
- header('Content-type: text/html; charset: ' . $user->lang['ENCODING']);
+ header('Content-type: text/html; charset=UTF-8');
}
header('Cache-Control: private, no-cache="set-cookie"');
header('Expires: 0');