Use DEFAULT_CHARSET constant instead of hardcoded string (#1734)

* Use `DEFAULT_CHARSET` constant instead of hardcoded string

* Update CHANGELOG.md

* Update defines.php

* Update info.php

* Updated

* Update page_header.tpl

* Update index.tpl

* Update index.tpl
This commit is contained in:
Roman Kelesidis 2025-01-05 00:57:20 +07:00 committed by GitHub
commit e5aaaf4abd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 35 additions and 33 deletions

View file

@ -111,7 +111,7 @@ $template->assign_vars([
// The following assigns all _common_ variables that may be used at any point in a template
$template->assign_vars([
'SIMPLE_HEADER' => !empty($gen_simple_header),
'CONTENT_ENCODING' => $bb_cfg['charset'],
'CONTENT_ENCODING' => DEFAULT_CHARSET,
'IN_ADMIN' => defined('IN_ADMIN'),
'USER_HIDE_CAT' => (BB_SCRIPT == 'index'),