summaryrefslogtreecommitdiff
path: root/ext/standard/info.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2008-12-31 12:52:39 +0000
committerMarcus Boerger <helly@php.net>2008-12-31 12:52:39 +0000
commit7d9e04000cb04ed986233669bfe8ec5e0d6ffbd5 (patch)
tree8fb05f3044c93068f92dac805ffac1a125a1f079 /ext/standard/info.c
parent8bdeb10a08ee525132c1c68684dae7ac0abe0777 (diff)
downloadphp-git-7d9e04000cb04ed986233669bfe8ec5e0d6ffbd5.tar.gz
- MFH Do not show core ini entries twice
Diffstat (limited to 'ext/standard/info.c')
-rw-r--r--ext/standard/info.c6
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) {