From: hickert Date: Wed, 5 Mar 2008 07:04:13 +0000 (+0000) Subject: Updated setup X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2f6c63961512e0440cd717fa8b461483cca63ad1;p=gosa.git Updated setup -Added mbstring check to setup git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9331 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/setup/class_setupStep_Checks.inc b/gosa-core/setup/class_setupStep_Checks.inc index 99e34ddfa..0721329de 100644 --- a/gosa-core/setup/class_setupStep_Checks.inc +++ b/gosa-core/setup/class_setupStep_Checks.inc @@ -108,6 +108,14 @@ class Step_Checks extends setup_step $M = TRUE; $this->basic_checks[] = array("NAME" => $N , "DESC" => $D , "RESULT" => $R , "SOLUTION" => $S , "MUST" => $M ); + /* Is imap module available */ + $N = _("Checking for multi byte support"); + $D = _("The multi byte string support is required by some plugins."); + $S = _("Please compile php with enabled multi byte support '--enable-mbstring'."); + $R = is_callable("mb_strlen"); + $M = TRUE; + $this->basic_checks[] = array("NAME" => $N , "DESC" => $D , "RESULT" => $R , "SOLUTION" => $S , "MUST" => $M ); + /* Check getacl in imap module */ $N = _("Checking for getacl in IMAP implementation"); $D = _("The getacl support is needed to handle shared folder permissions. Old IMAP extensions are not capable of reading acl's. You need a recent PHP version to use this feature.");