From 1e513413f255d6bd2ad9be4e36ef876edcb5ab0c Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Fri, 18 Jan 2008 01:24:29 +0000 Subject: [PATCH] - MFB: reflect the correct version --- ext/zip/php_zip.c | 4 ++-- ext/zip/php_zip.h | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ext/zip/php_zip.c b/ext/zip/php_zip.c index 4e491816f4..243fee7207 100644 --- a/ext/zip/php_zip.c +++ b/ext/zip/php_zip.c @@ -2206,8 +2206,8 @@ static PHP_MINFO_FUNCTION(zip) php_info_print_table_row(2, "Zip", "enabled"); php_info_print_table_row(2, "Extension Version","$Id$"); - php_info_print_table_row(2, "Zip version", "2.0.0"); - php_info_print_table_row(2, "Libzip version", "0.7.1"); + php_info_print_table_row(2, "Zip version", PHP_ZIP_VERSION_STRING); + php_info_print_table_row(2, "Libzip version", "0.8.0"); php_info_print_table_end(); } diff --git a/ext/zip/php_zip.h b/ext/zip/php_zip.h index 7349b0d5b3..dfcf8cc398 100644 --- a/ext/zip/php_zip.h +++ b/ext/zip/php_zip.h @@ -30,6 +30,8 @@ extern zend_module_entry zip_module_entry; #include "lib/zip.h" +#define PHP_ZIP_VERSION_STRING "1.8.11" + /* {{{ OPENBASEDIR_CHECKPATH(filename) */ #if (PHP_MAJOR_VERSION < 6) #define OPENBASEDIR_CHECKPATH(filename) \ -- 2.40.0