]> granicus.if.org Git - php/commitdiff
Add pecl release version to phpinfo output
authorWez Furlong <wez@php.net>
Thu, 17 Apr 2003 19:13:21 +0000 (19:13 +0000)
committerWez Furlong <wez@php.net>
Thu, 17 Apr 2003 19:13:21 +0000 (19:13 +0000)
ext/sqlite/package.xml
ext/sqlite/sqlite.c

index cfcc6845cc464b56ccb27727ed63e4445921c751..473246adf086f799f9a81a3d6d9ce6399cdcaff7 100644 (file)
@@ -20,7 +20,7 @@
   <license>PHP</license>
   <release>
     <state>beta</state>
-    <version>0.6</version>
+    <version>0.7</version>
     <date>2003-04-18</date>
        <notes>
                SQLite is now bundled with the extension; no need to download and build
index 2d4feb21d2dd28c1a1c2efcc571fdfd7b6fd92ba..e307cc12ea1d8cca07d1705c5fe5ffd2761e0733 100644 (file)
@@ -22,6 +22,8 @@
 #include "config.h"
 #endif
 
+#define PHP_SQLITE_MODULE_VERSION      "0.7"
+
 #include "php.h"
 #include "php_ini.h"
 #include "ext/standard/info.h"
@@ -73,7 +75,7 @@ zend_module_entry sqlite_module_entry = {
        NULL,
        PHP_MINFO(sqlite),
 #if ZEND_MODULE_API_NO >= 20010901
-       "0.1",
+       PHP_SQLITE_MODULE_VERSION,
 #endif
        STANDARD_MODULE_PROPERTIES
 };
@@ -221,7 +223,7 @@ PHP_MINFO_FUNCTION(sqlite)
 {
        php_info_print_table_start();
        php_info_print_table_header(2, "SQLite support", "enabled");
-       php_info_print_table_row(2, "PECL Module version", "$Id$");
+       php_info_print_table_row(2, "PECL Module version", PHP_SQLITE_MODULE_VERSION " $Id$");
        php_info_print_table_row(2, "SQLite Library", sqlite_libversion());
        php_info_print_table_row(2, "SQLite Encoding", sqlite_libencoding());
        php_info_print_table_end();