From cca9ebddae5db93493dbed1965725fa0fc42c92a Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Thu, 17 Apr 2003 19:13:21 +0000 Subject: [PATCH] Add pecl release version to phpinfo output --- ext/sqlite/package.xml | 2 +- ext/sqlite/sqlite.c | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/ext/sqlite/package.xml b/ext/sqlite/package.xml index cfcc6845cc..473246adf0 100644 --- a/ext/sqlite/package.xml +++ b/ext/sqlite/package.xml @@ -20,7 +20,7 @@ PHP beta - 0.6 + 0.7 2003-04-18 SQLite is now bundled with the extension; no need to download and build diff --git a/ext/sqlite/sqlite.c b/ext/sqlite/sqlite.c index 2d4feb21d2..e307cc12ea 100644 --- a/ext/sqlite/sqlite.c +++ b/ext/sqlite/sqlite.c @@ -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(); -- 2.50.1