From 86f1fc6978c6e831af5904f79744145390b43a24 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 4 Jan 2024 16:35:55 +0100 Subject: add upstream patch to report extension version --- upstream.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 upstream.patch (limited to 'upstream.patch') diff --git a/upstream.patch b/upstream.patch new file mode 100644 index 0000000..36f1b29 --- /dev/null +++ b/upstream.patch @@ -0,0 +1,21 @@ +From 65de3c0c338642a88edf82335a78bb521c8d123a Mon Sep 17 00:00:00 2001 +From: Remi Collet +Date: Thu, 4 Jan 2024 11:35:52 +0100 +Subject: [PATCH] Report extension version in phpinfo() output + +--- + php_imap.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/php_imap.c b/php_imap.c +index 22ad1b0..38b11b8 100644 +--- a/php_imap.c ++++ b/php_imap.c +@@ -571,6 +571,7 @@ PHP_RSHUTDOWN_FUNCTION(imap) + PHP_MINFO_FUNCTION(imap) + { + php_info_print_table_start(); ++ php_info_print_table_row(2, "IMAP extension Version", PHP_IMAP_VERSION); + php_info_print_table_row(2, "IMAP c-Client Version", CCLIENTVERSION); + #ifdef HAVE_IMAP_SSL + php_info_print_table_row(2, "SSL Support", "enabled"); -- cgit