mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-21 07:37:43 +00:00
added Twig C extension version in phpinfo
This commit is contained in:
@@ -15,6 +15,8 @@
|
||||
#ifndef PHP_TWIG_H
|
||||
#define PHP_TWIG_H
|
||||
|
||||
#define PHP_TWIG_VERSION "1.5.0-DEV"
|
||||
|
||||
#include "php.h"
|
||||
|
||||
extern zend_module_entry twig_module_entry;
|
||||
|
||||
+3
-2
@@ -54,7 +54,7 @@ zend_module_entry twig_module_entry = {
|
||||
PHP_RSHUTDOWN(twig),
|
||||
PHP_MINFO(twig),
|
||||
#if ZEND_MODULE_API_NO >= 20010901
|
||||
"1.5.0-DEV",
|
||||
PHP_TWIG_VERSION,
|
||||
#endif
|
||||
STANDARD_MODULE_PROPERTIES
|
||||
};
|
||||
@@ -100,7 +100,8 @@ PHP_RSHUTDOWN_FUNCTION(twig)
|
||||
PHP_MINFO_FUNCTION(twig)
|
||||
{
|
||||
php_info_print_table_start();
|
||||
php_info_print_table_header(2, "twig support", "enabled");
|
||||
php_info_print_table_header(2, "Twig support", "enabled");
|
||||
php_info_print_table_row(2, "Version", PHP_TWIG_VERSION);
|
||||
php_info_print_table_end();
|
||||
|
||||
DISPLAY_INI_ENTRIES();
|
||||
|
||||
Reference in New Issue
Block a user