From d42a792e8b7c00d3c6356ee66919dd81932003b0 Mon Sep 17 00:00:00 2001 From: Daku Date: Thu, 19 May 2016 17:17:04 +0100 Subject: [PATCH] safe_mode was removed in php 5.4 --- install.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/install.php b/install.php index 4390ff0f..4b2eda3d 100644 --- a/install.php +++ b/install.php @@ -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); }