diff options
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; \ |