summaryrefslogtreecommitdiff
path: root/install.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2014-05-24 19:58:29 +0200
committerAndreas Gohr <andi@splitbrain.org>2014-05-24 19:58:29 +0200
commit7f41344085d6bab6b602773f09c85534c9ad36cf (patch)
tree99305817e4bee3671ac6b42fdc1768e4f84fea90 /install.php
parent17076c2ad03d6de87b6c8f2ed3d6fcecb99ecf5b (diff)
downloadrpg-7f41344085d6bab6b602773f09c85534c9ad36cf.tar.gz
rpg-7f41344085d6bab6b602773f09c85534c9ad36cf.tar.bz2
check mbstring function overloading in installer. closes #736
Diffstat (limited to 'install.php')
-rw-r--r--install.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/install.php b/install.php
index acc96d3e6..20402d3ff 100644
--- a/install.php
+++ b/install.php
@@ -533,6 +533,11 @@ function check_functions(){
$ok = false;
}
+ if(ini_get('mbstring.func_overload') != 0){
+ $error[] = $lang['i_mbfuncoverload'];
+ $ok = false;
+ }
+
$funcs = explode(' ','addslashes call_user_func chmod copy fgets '.
'file file_exists fseek flush filesize ftell fopen '.
'glob header ignore_user_abort ini_get mail mkdir '.