[Pkg-owncloud-commits] [owncloud] 10/394: Check for iconv

David Prévot taffit at alioth.debian.org
Fri Nov 8 23:11:14 UTC 2013


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag v4.5.10
in repository owncloud.

commit 0399a88eb6879d8a68ac47e0a69ef559866c1a79
Author: Lukas Reschke <lukas at statuscode.ch>
Date:   Thu Oct 25 16:49:55 2012 +0200

    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 037a1ca..ca8117d 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;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list