Commit c3bb734b authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Fixes #4823 Fixed imagick and curl check and message

parent 06863a71
......@@ -87,13 +87,13 @@ class Step_Checks extends setupStep
$M = TRUE;
$basic_checks[] = array("NAME" => $N , "DESC" => $D , "RESULT" => $R , "SOLUTION" => $S , "MUST" => $M );
/* Check for php5-curl support */
$N = msgPool::checkingFor("curl");
$D = _("FusionDirectory requires this module to communicate with different types of servers and protocols.");
$S = msgPool::installPhpModule("php5-curl");
$R = is_callable("curl_init");
/* Check for curl support */
$N = msgPool::checkingFor('curl');
$D = _('FusionDirectory requires this module to communicate with different types of servers and protocols.');
$S = msgPool::installPhpModule('curl');
$R = is_callable('curl_init');
$M = TRUE;
$basic_checks[] = array("NAME" => $N , "DESC" => $D , "RESULT" => $R , "SOLUTION" => $S , "MUST" => $M );
$basic_checks[] = array('NAME' => $N , 'DESC' => $D , 'RESULT' => $R , 'SOLUTION' => $S , 'MUST' => $M );
/* Check for iconv */
$N = msgPool::checkingFor("iconv");
......@@ -130,7 +130,7 @@ class Step_Checks extends setupStep
$N = msgPool::checkingFor(_('imagick'));
$D = _('FusionDirectory requires this extension to handle images.');
$S = msgPool::installPhpModule('imagick');
$R = method_exists('imagick', 'getImageBlob');
$R = class_exists('Imagick', FALSE);
$M = TRUE;
$basic_checks[] = array('NAME' => $N , 'DESC' => $D , 'RESULT' => $R , 'SOLUTION' => $S , 'MUST' => $M );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment