diff options
author | Daniel Beulshausen <dbeu@php.net> | 2000-10-08 11:45:18 +0000 |
---|---|---|
committer | Daniel Beulshausen <dbeu@php.net> | 2000-10-08 11:45:18 +0000 |
commit | d667e05543b02da5fa122c5878c09067622013c4 (patch) | |
tree | c5c2a6a2d7a9eefacf8a764d36ad7f124d716e95 /ext/ftp/php_ftp.c | |
parent | 990a86615dd1aad60e752374892f1398657ca81a (diff) | |
download | php-git-d667e05543b02da5fa122c5878c09067622013c4.tar.gz |
more cleanup of info code
Diffstat (limited to 'ext/ftp/php_ftp.c')
-rw-r--r-- | ext/ftp/php_ftp.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/ext/ftp/php_ftp.c b/ext/ftp/php_ftp.c index 061b2aac6c..a7de40b128 100644 --- a/ext/ftp/php_ftp.c +++ b/ext/ftp/php_ftp.c @@ -34,6 +34,7 @@ #if HAVE_FTP +#include "ext/standard/info.h" #include "ext/standard/file.h" #include "php_ftp.h" @@ -75,7 +76,7 @@ zend_module_entry php_ftp_module_entry = { NULL, NULL, NULL, - NULL, + PHP_MINFO(ftp), STANDARD_MODULE_PROPERTIES }; @@ -102,6 +103,13 @@ PHP_MINIT_FUNCTION(ftp) return SUCCESS; } +PHP_MINFO_FUNCTION(ftp) +{ + php_info_print_table_start(); + php_info_print_table_row(2, "FTP support", "enabled"); + php_info_print_table_end(); +} + #define FTPBUF(ftp, pval) { \ int id, type; \ |