From 57a542d52d6cd8440a4ffd57ab33d5b69eeb5bb2 Mon Sep 17 00:00:00 2001
From: Laurent Destailleur <eldy@destailleur.fr>
Date: Fri, 5 Aug 2016 04:45:05 +0200
Subject: [PATCH] Fix: we still need gd

---
 htdocs/install/check.php | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/htdocs/install/check.php b/htdocs/install/check.php
index c864afeb648..adbe7759f4e 100644
--- a/htdocs/install/check.php
+++ b/htdocs/install/check.php
@@ -122,8 +122,8 @@ else
 }
 
 
-// Check if GD supported
-/*if (! function_exists("imagecreate"))
+// Check if GD supported (we need GD for image conversion)
+if (! function_exists("imagecreate"))
 {
 	$langs->load("errors");
 	print '<img src="../theme/eldy/img/warning.png" alt="Error"> '.$langs->trans("ErrorPHPDoesNotSupportGD")."<br>\n";
@@ -132,7 +132,7 @@ else
 else
 {
 	print '<img src="../theme/eldy/img/tick.png" alt="Ok"> '.$langs->trans("PHPSupportGD")."<br>\n";
-}*/
+}
 
 
 // Check if Curl supported
-- 
GitLab