mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 13:28:55 +00:00
git-svn-id: file:///svn/phpbb/trunk@6983 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
5227d3ce21
commit
4d1a25e8a1
1 changed files with 5 additions and 4 deletions
|
@ -230,8 +230,8 @@ class utf_normalizer
|
|||
// Load some commonly-used tables
|
||||
if (!isset($utf_jamo_index, $utf_jamo_type, $utf_combining_class))
|
||||
{
|
||||
global $phpbb_root_path;
|
||||
include($phpbb_root_path . 'includes/utf/data/utf_normalizer_common.php');
|
||||
global $phpbb_root_path, $phpEx;
|
||||
include($phpbb_root_path . 'includes/utf/data/utf_normalizer_common.' . $phpEx);
|
||||
}
|
||||
|
||||
// Buffer the last ASCII char before the UTF-8 stuff if applicable
|
||||
|
@ -920,12 +920,13 @@ class utf_normalizer
|
|||
*/
|
||||
function decompose($str, $pos, $len, &$decomp_map)
|
||||
{
|
||||
global $utf_combining_class, $phpbb_root_path;
|
||||
global $utf_combining_class;
|
||||
|
||||
// Load some commonly-used tables
|
||||
if (!isset($utf_combining_class))
|
||||
{
|
||||
include($phpbb_root_path . 'includes/utf/data/utf_normalizer_common.php');
|
||||
global $phpbb_root_path, $phpEx;
|
||||
include($phpbb_root_path . 'includes/utf/data/utf_normalizer_common.' . $phpEx);
|
||||
}
|
||||
|
||||
// UTF char length array
|
||||
|
|
Loading…
Add table
Reference in a new issue