summaryrefslogtreecommitdiff
path: root/inc/infoutils.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2009-01-16 13:20:30 +0100
committerAndreas Gohr <andi@splitbrain.org>2009-01-16 13:20:30 +0100
commit4222b898cfd890eeae352f6d6ab253b2b5dd72c3 (patch)
tree642e2bf48867f111d9d27ac61aa814b53c7e05a1 /inc/infoutils.php
parent7325569e7654d3cdace8a310359b1ab5be65af1f (diff)
downloadrpg-4222b898cfd890eeae352f6d6ab253b2b5dd72c3.tar.gz
rpg-4222b898cfd890eeae352f6d6ab253b2b5dd72c3.tar.bz2
check if mb_string function overloading is enabled FS#1565
darcs-hash:20090116122030-7ad00-da6705f92e7b128d3f908969aa6b348d28d85ae0.gz
Diffstat (limited to 'inc/infoutils.php')
-rw-r--r--inc/infoutils.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/inc/infoutils.php b/inc/infoutils.php
index c30266097..46bccf82f 100644
--- a/inc/infoutils.php
+++ b/inc/infoutils.php
@@ -169,6 +169,9 @@ function check(){
msg('mb_string extension is available but will not be used',0);
}else{
msg('mb_string extension is available and will be used',1);
+ if(ini_get('mbstring.func_overload') != 0){
+ msg('mb_string function overloading is enabled, this will cause problems and should be disabled',-1);
+ }
}
}else{
msg('mb_string extension not available - PHP only replacements will be used',0);