diff options
author | Colin Viebrock <cmv@php.net> | 2000-04-05 22:30:19 +0000 |
---|---|---|
committer | Colin Viebrock <cmv@php.net> | 2000-04-05 22:30:19 +0000 |
commit | 731404c0ba2d8a66bded77feec15bf8ba50099c8 (patch) | |
tree | 6410f0d01e6eadb4b22380047d0876f75f25e539 /ext/fdf | |
parent | 0c2b366ce18ec4927ae31151ad05249c857e2e72 (diff) | |
download | php-git-731404c0ba2d8a66bded77feec15bf8ba50099c8.tar.gz |
phpinfo() prettying
I will get to the rest of the functions later tonight or tomorrow
(i.e. from hyperwave to snmp)
Diffstat (limited to 'ext/fdf')
-rw-r--r-- | ext/fdf/fdf.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ext/fdf/fdf.c b/ext/fdf/fdf.c index 75817a68c6..0c75cc98b8 100644 --- a/ext/fdf/fdf.c +++ b/ext/fdf/fdf.c @@ -61,6 +61,8 @@ #if HAVE_FDFLIB +#include "ext/standard/info.h" + #ifdef THREAD_SAFE DWORD FDFlibTls; static int numthreads=0; @@ -123,7 +125,10 @@ PHP_MINIT_FUNCTION(fdf) PHP_MINFO_FUNCTION(fdf) { /* need to use a PHPAPI function here because it is external module in windows */ - php_printf("FdfTk Version %s", FDFGetVersion()); + php_info_print_table_start(); + php_info_print_table_row(2, "FDF Support", "enabled"); + php_info_print_table_row(2, "FdfTk Version", FDFGetVersion() ); + php_info_print_table_end(); } PHP_MSHUTDOWN_FUNCTION(fdf) |