From 228a05a79247da63504445c75cb5925b563ac0b3 Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Thu, 25 Oct 2012 16:49:55 +0200 Subject: [PATCH] Check for iconv --- lib/util.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/util.php b/lib/util.php index 907b455403..72b5e4d260 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.
','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.
','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.
','hint'=>'Please ask your server administrator to install the module.'); $web_server_restart= false;