]> granicus.if.org Git - php/commitdiff
- reflect the correct version
authorPierre Joye <pajoye@php.net>
Fri, 18 Jan 2008 00:51:38 +0000 (00:51 +0000)
committerPierre Joye <pajoye@php.net>
Fri, 18 Jan 2008 00:51:38 +0000 (00:51 +0000)
ext/zip/php_zip.c
ext/zip/php_zip.h

index 39f5f8f69ebd20663c7ff94cea143fc0129ab4b1..0dcbf2a8a795959b90bce00357f5724c4d64b460 100644 (file)
@@ -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();
 }
index 7349b0d5b3cff9ba80194946e36b2dfd92f687c2..dfcf8cc3988d78960226fb1315b511c12a012dbf 100644 (file)
@@ -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) \