From 9c54feec3504ed5f5bfe1257ae76983a97756e6f Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 12 Apr 2011 06:43:41 +0000 Subject: [PATCH] added curl checks git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@20700 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/setup/class_setupStep_Checks.inc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gosa-core/setup/class_setupStep_Checks.inc b/gosa-core/setup/class_setupStep_Checks.inc index d33b402e4..7fb51734a 100644 --- a/gosa-core/setup/class_setupStep_Checks.inc +++ b/gosa-core/setup/class_setupStep_Checks.inc @@ -84,6 +84,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."); -- 2.30.2