diff options
| author | jvoisin | 2017-10-13 16:49:56 +0200 |
|---|---|---|
| committer | jvoisin | 2017-10-13 16:49:56 +0200 |
| commit | bf9218ce7a1efb72244e58cc0663ef10a0c0029f (patch) | |
| tree | 378eab2e26cb844ab5530e0658df19ec3b86d90e /src/snuffleupagus.c | |
| parent | 780dcab62ebbf87aee8c65616fe0b0c57b2c8ea0 (diff) | |
Add more data to `phpinfo()`
- The version
- The git commit
Diffstat (limited to 'src/snuffleupagus.c')
| -rw-r--r-- | src/snuffleupagus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/snuffleupagus.c b/src/snuffleupagus.c index 02dd946..4f02065 100644 --- a/src/snuffleupagus.c +++ b/src/snuffleupagus.c | |||
| @@ -145,9 +145,9 @@ PHP_RSHUTDOWN_FUNCTION(snuffleupagus) { return SUCCESS; } | |||
| 145 | 145 | ||
| 146 | PHP_MINFO_FUNCTION(snuffleupagus) { | 146 | PHP_MINFO_FUNCTION(snuffleupagus) { |
| 147 | php_info_print_table_start(); | 147 | php_info_print_table_start(); |
| 148 | php_info_print_table_header(2, "snuffleupagus support", "enabled"); | 148 | php_info_print_table_row(2, "snuffleupagus support", "enabled"); |
| 149 | php_info_print_table_row(2, "Version", PHP_SNUFFLEUPAGUS_VERSION); | ||
| 149 | php_info_print_table_end(); | 150 | php_info_print_table_end(); |
| 150 | |||
| 151 | DISPLAY_INI_ENTRIES(); | 151 | DISPLAY_INI_ENTRIES(); |
| 152 | } | 152 | } |
| 153 | 153 | ||
