summaryrefslogtreecommitdiff
path: root/ext/zip
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2008-01-18 00:51:38 +0000
committerPierre Joye <pajoye@php.net>2008-01-18 00:51:38 +0000
commitc1fa811b5cdb08d9d7919b39c9198b856afdf0aa (patch)
tree7dd3290944371f0dba385e9564e9cb22e54540d5 /ext/zip
parent736e23a4c534b0befe20c3a234c6806b4bd7567c (diff)
downloadphp-git-c1fa811b5cdb08d9d7919b39c9198b856afdf0aa.tar.gz
- reflect the correct version
Diffstat (limited to 'ext/zip')
-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 39f5f8f69e..0dcbf2a8a7 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-compatible");
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) \