diff options
| author | Graham Eames <grahamje@users.sourceforge.net> | 2005-12-17 21:34:33 +0000 |
|---|---|---|
| committer | Graham Eames <grahamje@users.sourceforge.net> | 2005-12-17 21:34:33 +0000 |
| commit | 1595f7a8d371fbed26553ad8081226162a63ec65 (patch) | |
| tree | 02628204df354e742b46bfa03f661817d53ab942 /phpBB | |
| parent | ab99455e7ce6ac98cf1f721a0c49e2e1eeb8d4b8 (diff) | |
| download | forums-1595f7a8d371fbed26553ad8081226162a63ec65.tar forums-1595f7a8d371fbed26553ad8081226162a63ec65.tar.gz forums-1595f7a8d371fbed26553ad8081226162a63ec65.tar.bz2 forums-1595f7a8d371fbed26553ad8081226162a63ec65.tar.xz forums-1595f7a8d371fbed26553ad8081226162a63ec65.zip | |
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
Diffstat (limited to 'phpBB')
| -rw-r--r-- | phpBB/includes/acp/acp_board.php | 2 | ||||
| -rw-r--r-- | phpBB/includes/functions.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/acp/acp_board.php b/phpBB/includes/acp/acp_board.php index 0318326921..06ea1335c1 100644 --- a/phpBB/includes/acp/acp_board.php +++ b/phpBB/includes/acp/acp_board.php @@ -184,7 +184,7 @@ class acp_board 'max_autologin_time' => array('lang' => 'AUTOLOGIN_LENGTH', 'type' => 'text:5:5', 'explain' => true), 'ip_check' => array('lang' => 'IP_VALID', 'type' => 'custom', 'method' => 'select_ip_check', 'explain' => true), 'browser_check' => array('lang' => 'BROWSER_VALID', 'type' => 'radio:yes_no', 'explain' => true), - 'send_encoding' => array('lang' => 'SEND_ENCODING', 'type' => 'radio:yes_no', 'explain' => true), + 'send_encoding' => array('lang' => 'SEND_ENCODING', 'type' => 'radio:yes_no', 'explain' => true), 'gzip_compress' => array('lang' => 'ENABLE_GZIP', 'type' => 'radio:yes_no', 'explain' => false), 'legend2' => 'PATH_SETTINGS', diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index b90a4ca317..541c8253ad 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -1878,7 +1878,7 @@ function page_header($page_title = '') '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']); } |
