From 93a9e83512a37d720cb675cbb2017e6419ea8216 Mon Sep 17 00:00:00 2001 From: andi Date: Sun, 23 Jan 2005 17:13:32 +0100 Subject: check for mb_string availability in check() darcs-hash:20050123161332-9977f-87cf44a0a960e20ff27ae0fa724910402f02be8a.gz --- inc/common.php | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'inc') 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); -- cgit v1.2.3