[core] avoid making convert show an error message
This commit is contained in:
parent
81ec577b32
commit
cafef06b14
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ function check_gd_version(): int
|
|||
*/
|
||||
function check_im_version(): int
|
||||
{
|
||||
$convert_check = exec("convert");
|
||||
$convert_check = exec("convert --version");
|
||||
|
||||
return (empty($convert_check) ? 0 : 1);
|
||||
}
|
||||
|
|
Reference in a new issue