Fix: we still need gd

This commit is contained in:
Laurent Destailleur 2016-08-05 04:45:05 +02:00
parent 63562beb36
commit 57a542d52d

View File

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