From f50d691a392e5a711a16011e84d40150c9cda7b3 Mon Sep 17 00:00:00 2001 From: Antoine Pitrou <pitrou@free.fr> Date: Fri, 21 Mar 2003 18:46:50 +0000 Subject: [PATCH] bug gonflant --- ecrire/inc_version.php3 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ecrire/inc_version.php3 b/ecrire/inc_version.php3 index de5e8d006d..74e25fbdf1 100644 --- a/ecrire/inc_version.php3 +++ b/ecrire/inc_version.php3 @@ -201,8 +201,8 @@ if ($flag_function_exists) { $flag_utf8_decode = function_exists("utf8_decode"); $flag_ldap = function_exists("ldap_connect"); $flag_flock = function_exists("flock"); - $flag_ImageCreateTrueColor = function_exists("ImageCreateTrueColor"); - $flag_ImageCopyResampled = function_exists("ImageCopyResampled"); + $flag_ImageCreateTrueColor = function_exists("ImageCreateTrueColor") && function_exists("gd_info"); + $flag_ImageCopyResampled = function_exists("ImageCopyResampled") && function_exists("gd_info"); $flag_ImageGif = function_exists("ImageGif"); $flag_ImageJpeg = function_exists("ImageJpeg"); $flag_ImagePng = function_exists("ImagePng"); -- GitLab