Release preparation. New language activation and global UTF-8 charset.

This commit is contained in:
Yuriy Pikhtarev 2017-06-12 20:19:28 +03:00
commit 5942e57b53
No known key found for this signature in database
GPG key ID: 3A9B5A757B48ECC6
5 changed files with 187 additions and 15 deletions

View file

@ -125,8 +125,7 @@ $template->assign_vars(array(
// The following assigns all _common_ variables that may be used at any point in a template
$template->assign_vars(array(
'SIMPLE_HEADER' => !empty($gen_simple_header),
'CONTENT_ENCODING' => isset($bb_cfg['lang'][$userdata['user_lang']]['encoding']) ?
$bb_cfg['lang'][$userdata['user_lang']]['encoding'] : 'utf-8',
'CONTENT_ENCODING' => $bb_cfg['charset'],
'IN_ADMIN' => defined('IN_ADMIN'),
'USER_HIDE_CAT' => (BB_SCRIPT == 'index'),