Browse Source

This error message had me confused for about twenty minutes. I couldn't

figure out what was wrong with my imagick install that would make it give
me an orange button if it was installed.  Of course, the problem was that
it wasn't installed, and the message was worded badly.  This is a bit less
confusing.
pull/3024/head
Thomas Willingham 4 years ago
parent
commit
a58d8d2c71
1 changed files with 8 additions and 3 deletions
  1. +8
    -3
      mod/install.php

+ 8
- 3
mod/install.php View File

@ -548,9 +548,14 @@ function check_imagik(&$checks) {
$gif = true;
}
}
check_add($checks, t('ImageMagick PHP extension is installed'), $imagick, false, "");
if ($imagick) {
check_add($checks, t('ImageMagick supports GIF'), $gif, false, "");
if ($imagick == false) {
check_add($checks, t('ImageMagick PHP extension is not installed'), $imagick, false, "");
}
else {
check_add($checks, t('ImageMagick PHP extension is installed'), $imagick, false, "");
if ($imagick) {
check_add($checks, t('ImageMagick supports GIF'), $gif, false, "");
}
}
}


Loading…
Cancel
Save