From: hickert Date: Fri, 10 Dec 2010 11:01:37 +0000 (+0000) Subject: Added php5-curl dependency X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=625e580daee099e099dae1291c0d33854f7bcac9;p=gosa.git Added php5-curl dependency git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20534 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/setup/class_setupStep_Checks.inc b/gosa-core/setup/class_setupStep_Checks.inc index 85938910b..b3699d68b 100644 --- a/gosa-core/setup/class_setupStep_Checks.inc +++ b/gosa-core/setup/class_setupStep_Checks.inc @@ -86,6 +86,14 @@ class Step_Checks extends setup_step $M = TRUE; $this->basic_checks[] = array("NAME" => $N , "DESC" => $D , "RESULT" => $R , "SOLUTION" => $S , "MUST" => $M ); + /* Check for php5-curl support */ + $N = msgPool::checkingFor("curl"); + $D = _("GOsa requires this module to communicate with different types of servers and protocols."); + $S = msgPool::installPhpModule("php5-curl"); + $R = is_callable("curl_init"); + $M = TRUE; + $this->basic_checks[] = array("NAME" => $N , "DESC" => $D , "RESULT" => $R , "SOLUTION" => $S , "MUST" => $M ); + /* Checing for iconv */ $N = msgPool::checkingFor("inconv"); $D = _("GOsa requires this module for the samba integration.");