iliaa           Wed Dec 11 17:37:05 2002 EDT

  Modified files:              
    /php4/ext/gd/tests  jpeg2png.phpt 
  Log:
  Added check for availability of jpeg support.
  
  
Index: php4/ext/gd/tests/jpeg2png.phpt
diff -u php4/ext/gd/tests/jpeg2png.phpt:1.1 php4/ext/gd/tests/jpeg2png.phpt:1.2
--- php4/ext/gd/tests/jpeg2png.phpt:1.1 Wed Dec  4 16:04:07 2002
+++ php4/ext/gd/tests/jpeg2png.phpt     Wed Dec 11 17:37:05 2002
@@ -11,6 +11,9 @@
        if (!function_exists("imagecreatefrompng") || !function_exists("imagepng")) {
                die("skip png support unavailable");
        }
+       if (!function_exists("imagecreatefromjpeg") || !function_exists("imagejpeg")) {
+               die("skip jpeg support unavailable");
+       }
 ?>
 --FILE--
 <?php



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to