check for mb_string availability in check()

darcs-hash:20050123161332-9977f-87cf44a0a960e20ff27ae0fa724910402f02be8a.gz
This commit is contained in:
andi 2005-01-23 17:13:32 +01:00
parent 2f95495925
commit 93a9e83512
1 changed files with 10 additions and 0 deletions

View File

@ -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);