com php-src: add WebP support in phpinfo: ext/gd/gd.c
| From: | Pierre Joye | Date: | Wed, 27 Mar 2013 16:38:57 +0000 |
| Subject: | com php-src: add WebP support in phpinfo: ext/gd/gd.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-71761@lists.php.net to get a copy of this message | ||
Commit: e7d88a63fa19c4b3df544563416b2c4370ad194b
Author: Pierre Joye <pierre.php@gmail.com> Wed, 27 Mar 2013 17:38:57 +0100
Parents: f01a7e54d3d3ab82e7739b1e43a21179297208f6
Branches: PHP-5.5 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e7d88a63fa19c4b3df544563416b2c4370ad194b
Log:
add WebP support in phpinfo
Changed paths:
M ext/gd/gd.c
Diff:
diff --git a/ext/gd/gd.c b/ext/gd/gd.c
index 3ce1a2c..d929e7f 100644
--- a/ext/gd/gd.c
+++ b/ext/gd/gd.c
@@ -1439,6 +1439,9 @@ PHP_MINFO_FUNCTION(gd)
#if defined(USE_GD_JISX0208) && defined(HAVE_GD_BUNDLED)
php_info_print_table_row(2, "JIS-mapped Japanese Font Support", "enabled");
#endif
+#ifdef HAVE_GD_WEBP
+ php_info_print_table_row(2, "WebP Support", "enabled");
+#endif
php_info_print_table_end();
DISPLAY_INI_ENTRIES();
}