Permalink
Browse files

added module version information to phpinfo()

  • Loading branch information...
1 parent 00b3f6f commit 8311ccf8a850f265510bce4348f453d70542d0c8 @ppadron committed Dec 1, 2009
Showing with 2 additions and 1 deletion.
  1. +2 −1 augeas.c
View
@@ -103,7 +103,7 @@ zend_module_entry augeas_module_entry = {
NULL,
NULL,
PHP_MINFO(augeas),
- "0.3",
+ PHP_AUGEAS_VERSION,
STANDARD_MODULE_PROPERTIES
};
/* }}} */
@@ -210,6 +210,7 @@ PHP_MINFO_FUNCTION(augeas)
{
php_info_print_table_start();
php_info_print_table_header(2, "augeas support", "enabled");
+ php_info_print_table_row(2, "augeas version", PHP_AUGEAS_VERSION);
php_info_print_table_end();
}

0 comments on commit 8311ccf

Please sign in to comment.