diff options
author | Marcus Boerger <helly@php.net> | 2008-12-31 12:52:39 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2008-12-31 12:52:39 +0000 |
commit | 7d9e04000cb04ed986233669bfe8ec5e0d6ffbd5 (patch) | |
tree | 8fb05f3044c93068f92dac805ffac1a125a1f079 /ext/standard | |
parent | 8bdeb10a08ee525132c1c68684dae7ac0abe0777 (diff) | |
download | php-git-7d9e04000cb04ed986233669bfe8ec5e0d6ffbd5.tar.gz |
- MFH Do not show core ini entries twice
Diffstat (limited to 'ext/standard')
-rw-r--r-- | ext/standard/info.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ext/standard/info.c b/ext/standard/info.c index a8a750115d..9c59485eb7 100644 --- a/ext/standard/info.c +++ b/ext/standard/info.c @@ -883,8 +883,10 @@ PHPAPI void php_print_info(int flag TSRMLS_DC) } else { SECTION("Configuration"); } - SECTION("PHP Core"); - display_ini_entries(NULL); + if (!(flag & PHP_INFO_MODULES)) { + SECTION("PHP Core"); + display_ini_entries(NULL); + } } if (flag & PHP_INFO_MODULES) { |