Code

Applied patches from trunk
[gosa.git] / gosa-core / setup / class_setupStep_Checks.inc
index 85938910b00bf0a676ae7c1c2602f356fd740619..b3699d68b09bff84c8c7ee722c9aa6e0c7580190 100644 (file)
@@ -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.");