Skip to content

Commit

Permalink
Add INI settings to the info page (#242)
Browse files Browse the repository at this point in the history
* Add ini entries to the info page

* Update the CHANGELOG
  • Loading branch information
SammyK authored Jan 17, 2019
1 parent 8b6219f commit 5905951
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ All notable changes to this project will be documented in this file - [read more
### Changed

### Fixed
- The INI settings now appear in `phpinfo()` and when running `$ php -i` #242

## [0.9.1]
### Added
Expand Down
2 changes: 2 additions & 0 deletions src/ext/ddtrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@ static PHP_MINFO_FUNCTION(ddtrace) {
php_info_print_table_row(2, "Datadog tracing support", DDTRACE_G(disable) ? "disabled" : "enabled");
php_info_print_table_row(2, "Version", PHP_DDTRACE_VERSION);
php_info_print_table_end();

DISPLAY_INI_ENTRIES();
}

static PHP_FUNCTION(dd_trace) {
Expand Down

0 comments on commit 5905951

Please sign in to comment.