summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Joye <pierre.php@gmail.com>2013-03-27 17:38:57 +0100
committerPierre Joye <pierre.php@gmail.com>2013-03-27 17:38:57 +0100
commite7d88a63fa19c4b3df544563416b2c4370ad194b (patch)
treeb7843f6b1f605f97ea42591a6859c332b077f388
parentf01a7e54d3d3ab82e7739b1e43a21179297208f6 (diff)
downloadphp-git-e7d88a63fa19c4b3df544563416b2c4370ad194b.tar.gz
add WebP support in phpinfo
-rw-r--r--ext/gd/gd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/gd/gd.c b/ext/gd/gd.c
index 3ce1a2cf23..d929e7f84e 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();
}