pajoye Mon Dec 26 21:41:37 2005 EDT Modified files: /php-src/ext/gd/tests gif.phpt Log: - check for jpeg support http://cvs.php.net/viewcvs.cgi/php-src/ext/gd/tests/gif.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/gd/tests/gif.phpt diff -u php-src/ext/gd/tests/gif.phpt:1.1 php-src/ext/gd/tests/gif.phpt:1.2 --- php-src/ext/gd/tests/gif.phpt:1.1 Mon Dec 26 19:11:51 2005 +++ php-src/ext/gd/tests/gif.phpt Mon Dec 26 21:41:37 2005 @@ -2,11 +2,11 @@ gif in/out --SKIPIF-- <?php -// $Id: gif.phpt,v 1.1 2005/12/26 19:11:51 pajoye Exp $ +// $Id: gif.phpt,v 1.2 2005/12/26 21:41:37 pajoye Exp $ if (!extension_loaded('gd')) { die("skip gd extension not available."); } - if (!function_exists("imagegif") || !function_exists("imagecreatefromgif")) { + if (!function_exists("imagegif") || !function_exists("imagecreatefromgif") || !function_exists('imagecreatefromjpeg')) { die("skip gif support unavailable"); } ?>
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php