summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2008-01-18 01:11:26 +0000
committerPierre Joye <pajoye@php.net>2008-01-18 01:11:26 +0000
commitda5b986a72914057575d66dbd3b5f056869c0812 (patch)
tree952be52a30d721921436884ffd540b7f3a193535
parent5f8d225834a09d05c7834ce2538f8d70cb3dd8bd (diff)
downloadphp-git-da5b986a72914057575d66dbd3b5f056869c0812.tar.gz
- MFB: reflect the correct version
-rw-r--r--ext/zip/php_zip.c4
-rw-r--r--ext/zip/php_zip.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/ext/zip/php_zip.c b/ext/zip/php_zip.c
index 397ab9a27c..bf73300ebc 100644
--- a/ext/zip/php_zip.c
+++ b/ext/zip/php_zip.c
@@ -2112,8 +2112,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) \