aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-10-08 11:21:40 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-10-08 11:21:40 +0000
commit9a73fb26b29bc79281c12192ae0f303ed40ad1d0 (patch)
tree31d3cc9facb2ab3ca379b91b9db5e715e6e55c24 /phpBB/includes
parentdf20358f6d37ef3e6c0dcb490f603bbac4a5c22b (diff)
downloadforums-9a73fb26b29bc79281c12192ae0f303ed40ad1d0.tar
forums-9a73fb26b29bc79281c12192ae0f303ed40ad1d0.tar.gz
forums-9a73fb26b29bc79281c12192ae0f303ed40ad1d0.tar.bz2
forums-9a73fb26b29bc79281c12192ae0f303ed40ad1d0.tar.xz
forums-9a73fb26b29bc79281c12192ae0f303ed40ad1d0.zip
filenames and directories are lowercase only
git-svn-id: file:///svn/phpbb/trunk@6466 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/utf/data/case_fold_c.php (renamed from phpBB/includes/utf/data/case_fold_C.php)0
-rw-r--r--phpBB/includes/utf/data/case_fold_f.php (renamed from phpBB/includes/utf/data/case_fold_F.php)0
-rw-r--r--phpBB/includes/utf/data/case_fold_s.php (renamed from phpBB/includes/utf/data/case_fold_S.php)0
-rw-r--r--phpBB/includes/utf/utf_tools.php18
4 files changed, 9 insertions, 9 deletions
diff --git a/phpBB/includes/utf/data/case_fold_C.php b/phpBB/includes/utf/data/case_fold_c.php
index 00de1ba349..00de1ba349 100644
--- a/phpBB/includes/utf/data/case_fold_C.php
+++ b/phpBB/includes/utf/data/case_fold_c.php
diff --git a/phpBB/includes/utf/data/case_fold_F.php b/phpBB/includes/utf/data/case_fold_f.php
index 7e2ffb25ec..7e2ffb25ec 100644
--- a/phpBB/includes/utf/data/case_fold_F.php
+++ b/phpBB/includes/utf/data/case_fold_f.php
diff --git a/phpBB/includes/utf/data/case_fold_S.php b/phpBB/includes/utf/data/case_fold_s.php
index 5f09ffa1dd..5f09ffa1dd 100644
--- a/phpBB/includes/utf/data/case_fold_S.php
+++ b/phpBB/includes/utf/data/case_fold_s.php
diff --git a/phpBB/includes/utf/utf_tools.php b/phpBB/includes/utf/utf_tools.php
index 4adb1b2952..8f88cc391f 100644
--- a/phpBB/includes/utf/utf_tools.php
+++ b/phpBB/includes/utf/utf_tools.php
@@ -945,31 +945,31 @@ function utf8_case_fold($text, $option = 'full')
global $phpbb_root_path, $phpEx;
// common is always set
- if (!isset($uniarray['C']))
+ if (!isset($uniarray['c']))
{
- $uniarray['C'] = include($phpbb_root_path . 'includes/utf/data/case_fold_C.' . $phpEx);
+ $uniarray['c'] = include_once($phpbb_root_path . 'includes/utf/data/case_fold_c.' . $phpEx);
}
// only set full if we need to
- if ($option === 'full' && !isset($uniarray['F']))
+ if ($option === 'full' && !isset($uniarray['f']))
{
- $uniarray['F'] = include($phpbb_root_path . 'includes/utf/data/case_fold_F.' . $phpEx);
+ $uniarray['f'] = include_once($phpbb_root_path . 'includes/utf/data/case_fold_f.' . $phpEx);
}
// only set simple if we need to
- if ($option !== 'full' && !isset($uniarray['S']))
+ if ($option !== 'full' && !isset($uniarray['s']))
{
- $uniarray['S'] = include($phpbb_root_path . 'includes/utf/data/case_fold_S.' . $phpEx);
+ $uniarray['s'] = include_once($phpbb_root_path . 'includes/utf/data/case_fold_s.' . $phpEx);
}
- $text = strtr($text, $uniarray['C']);
+ $text = strtr($text, $uniarray['c']);
if ($option === 'full')
{
- $text = strtr($text, $uniarray['F']);
+ $text = strtr($text, $uniarray['f']);
}
else
{
- $text = strtr($text, $uniarray['S']);
+ $text = strtr($text, $uniarray['s']);
}
return $text;
}