Skip to content

Commit

Permalink
added module version information to phpinfo()
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro Padron committed Dec 1, 2009
1 parent 00b3f6f commit 8311ccf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion augeas.c
Expand Up @@ -103,7 +103,7 @@ zend_module_entry augeas_module_entry = {
NULL, NULL,
NULL, NULL,
PHP_MINFO(augeas), PHP_MINFO(augeas),
"0.3", PHP_AUGEAS_VERSION,
STANDARD_MODULE_PROPERTIES STANDARD_MODULE_PROPERTIES
}; };
/* }}} */ /* }}} */
Expand Down Expand Up @@ -210,6 +210,7 @@ PHP_MINFO_FUNCTION(augeas)
{ {
php_info_print_table_start(); php_info_print_table_start();
php_info_print_table_header(2, "augeas support", "enabled"); 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(); php_info_print_table_end();


} }
Expand Down

0 comments on commit 8311ccf

Please sign in to comment.