com php-src: show libtidy version in the info, if available: ext/tidy/tidy.c

From: Date: Mon, 11 Jul 2016 17:18:57 +0000
Subject: com php-src: show libtidy version in the info, if available: ext/tidy/tidy.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-92937@lists.php.net to get a copy of this message
Commit: 1223f7f91b63d37c1282c05c0fab5a16bc83bbf1 Author: Anatol Belski <ab@php.net> Mon, 11 Jul 2016 18:32:11 +0200 Parents: 15db83419d058c557faca1df9123a58bbb17b893 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=1223f7f91b63d37c1282c05c0fab5a16bc83bbf1 Log: show libtidy version in the info, if available Changed paths: M ext/tidy/tidy.c Diff: diff --git a/ext/tidy/tidy.c b/ext/tidy/tidy.c index d6461bd..7708306 100644 --- a/ext/tidy/tidy.c +++ b/ext/tidy/tidy.c @@ -1083,6 +1083,9 @@ static PHP_MINFO_FUNCTION(tidy) { php_info_print_table_start(); php_info_print_table_header(2, "Tidy support", "enabled"); +#if HAVE_TIDYBUFFIO_H + php_info_print_table_row(2, "libTidy Version", (char *)tidyLibraryVersion()); +#endif php_info_print_table_row(2, "libTidy Release", (char *)tidyReleaseDate()); php_info_print_table_row(2, "Extension Version", PHP_TIDY_VERSION " ($Id$)"); php_info_print_table_end();

« previous php.cvs (#92937) next »