diff options
author | andi <andi@splitbrain.org> | 2005-01-23 17:13:32 +0100 |
---|---|---|
committer | andi <andi@splitbrain.org> | 2005-01-23 17:13:32 +0100 |
commit | 93a9e83512a37d720cb675cbb2017e6419ea8216 (patch) | |
tree | af98e8118239294de0e101839df16fb95a55d559 /inc | |
parent | 2f95495925c5ddfb2e3e7120c43e709ae0c50ae3 (diff) | |
download | rpg-93a9e83512a37d720cb675cbb2017e6419ea8216.tar.gz rpg-93a9e83512a37d720cb675cbb2017e6419ea8216.tar.bz2 |
check for mb_string availability in check()
darcs-hash:20050123161332-9977f-87cf44a0a960e20ff27ae0fa724910402f02be8a.gz
Diffstat (limited to 'inc')
-rw-r--r-- | inc/common.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/inc/common.php b/inc/common.php index 7fa9c564b..fd6fb911c 100644 --- a/inc/common.php +++ b/inc/common.php @@ -937,6 +937,16 @@ function check(){ }else{ msg('conf/users.auth is not writable',0); } + + if(function_exists('mb_strpos')){ + if(defined('UTF8_NOMBSTRING')){ + msg('mb_string extension is available but will not be used',0); + }else{ + msg('mb_string extension is available and will be used',1); + } + }else{ + msg('mb_string extension not available - PHP only replacements will be used',0); + } msg('Your current permission for this page is '.$INFO['perm'],0); |