safe_mode was removed in php 5.4
This commit is contained in:
parent
7eca12b495
commit
d42a792e8b
1 changed files with 2 additions and 3 deletions
|
@ -130,9 +130,8 @@ function check_gd_version() {
|
|||
}
|
||||
|
||||
function check_im_version() {
|
||||
if(!ini_get('safe_mode')) {
|
||||
$convert_check = exec("convert");
|
||||
}
|
||||
$convert_check = exec("convert");
|
||||
|
||||
return (empty($convert_check) ? 0 : 1);
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue