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

index 4e491816f48eb4a1391a4f6423af0561e3760794..243fee7207fee64e38bb8bda0486f826c066f4ac 100644 (file)
@@ -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();
 }
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) \