Commit bdec8f7e authored by Benoit Mortier's avatar Benoit Mortier
Browse files

Fixes: #1214 Wizard goes into an infinite loop if the popen function is not available

parent 50509048
......@@ -150,14 +150,6 @@ class Step_Checks extends setup_step
$M = TRUE;
$this->basic_checks[] = array("NAME" => $N , "DESC" => $D , "RESULT" => $R , "SOLUTION" => $S , "MUST" => $M );
/* Read data written by convert */
$output= "";
$sh= popen("convert", 'r');
while (!feof($sh)){
$output.= fread($sh, 4096);
}
pclose($sh);
$N = msgPool::checkingFor(_("imagick"));
$D = _("FusionDirectory requires this extension to handle images.");
$S = msgPool::installPhpModule("php5-imagick");
......
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