aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2012-10-25 16:49:55 +0200
committerLukas Reschke <lukas@statuscode.ch>2012-10-25 16:49:55 +0200
commit228a05a79247da63504445c75cb5925b563ac0b3 (patch)
tree1b5f0e11303a6115336912b26a98b2df8e2f5b29 /lib
parent55277c8e5a9a54baed3b1070eafffaa0f6d54c71 (diff)
downloadnextcloud-server-228a05a79247da63504445c75cb5925b563ac0b3.tar.gz
nextcloud-server-228a05a79247da63504445c75cb5925b563ac0b3.zip
Check for iconv
Diffstat (limited to 'lib')
-rwxr-xr-xlib/util.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php
index 907b4554037..72b5e4d260e 100755
--- a/lib/util.php
+++ b/lib/util.php
@@ -296,7 +296,10 @@ class OC_Util {
$errors[]=array('error'=>'PHP module zlib is not installed.<br/>','hint'=>'Please ask your server administrator to install the module.');
$web_server_restart= false;
}
-
+ if(!function_exists('iconv')) {
+ $errors[]=array('error'=>'PHP module iconv is not installed.<br/>','hint'=>'Please ask your server administrator to install the module.');
+ $web_server_restart= false;
+ }
if(!function_exists('simplexml_load_string')) {
$errors[]=array('error'=>'PHP module SimpleXML is not installed.<br/>','hint'=>'Please ask your server administrator to install the module.');
$web_server_restart= false;