Adding the ability to change send_encoding needs a slight tweak to the

code which tests it since it will now always be set


git-svn-id: file:///svn/phpbb/trunk@5347 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Graham Eames 2005-12-17 21:34:33 +00:00
parent ab99455e7c
commit 1595f7a8d3
2 changed files with 2 additions and 2 deletions

View file

@ -1878,7 +1878,7 @@ function page_header($page_title = '')
'T_THEME_DATA' => (!$user->theme['primary']['theme_storedb']) ? '' : $user->theme['primary']['theme_data']) 'T_THEME_DATA' => (!$user->theme['primary']['theme_storedb']) ? '' : $user->theme['primary']['theme_data'])
); );
if (!empty($config['send_encoding'])) if ($config['send_encoding'])
{ {
header('Content-type: text/html; charset: ' . $user->lang['ENCODING']); header('Content-type: text/html; charset: ' . $user->lang['ENCODING']);
} }