diff options
| author | Ondřej Surý <ondrej@sury.org> | 2010-03-09 11:57:54 +0100 |
|---|---|---|
| committer | Ondřej Surý <ondrej@sury.org> | 2010-03-09 11:57:54 +0100 |
| commit | 855a09f4eded707941180c9d90acd17c25e29447 (patch) | |
| tree | a40947efaa9876f31b6ee3956c3f3775768143bb /ext/gd/tests/imagecopyresampled_basic.phpt | |
| parent | c852c28a88fccf6e34a2cb091fdfa72bce2b59c7 (diff) | |
| download | php-upstream/5.3.2.tar.gz | |
Imported Upstream version 5.3.2upstream/5.3.2
Diffstat (limited to 'ext/gd/tests/imagecopyresampled_basic.phpt')
| -rw-r--r-- | ext/gd/tests/imagecopyresampled_basic.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gd/tests/imagecopyresampled_basic.phpt b/ext/gd/tests/imagecopyresampled_basic.phpt index 12ac15511..a0454faf8 100644 --- a/ext/gd/tests/imagecopyresampled_basic.phpt +++ b/ext/gd/tests/imagecopyresampled_basic.phpt @@ -3,7 +3,7 @@ imagecopyresampled() --SKIPIF-- <?php if (!function_exists('imagecopyresampled')) die('skip imagecopyresampled() not available'); - require_once('skipif_imagetype.inc'); + if (!(imagetype() & IMG_PNG)) die('skip PNG Support is not enabled'); ?> --FILE-- <?php |
