]> source.dussan.org Git - nextcloud-server.git/commitdiff
Check for iconv
authorLukas Reschke <lukas@statuscode.ch>
Thu, 25 Oct 2012 14:49:55 +0000 (16:49 +0200)
committerLukas Reschke <lukas@statuscode.ch>
Thu, 25 Oct 2012 14:49:55 +0000 (16:49 +0200)
lib/util.php

index 907b45540377dc0e7ab5016390573dd523018d8a..72b5e4d260ef4bec274c9955227d251929a629c6 100755 (executable)
@@ -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;