From: Marcus Boerger Date: Wed, 31 Dec 2008 12:52:39 +0000 (+0000) Subject: - MFH Do not show core ini entries twice X-Git-Tag: php-5.3.0beta1~334 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7d9e04000cb04ed986233669bfe8ec5e0d6ffbd5;p=php - MFH Do not show core ini entries twice --- 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) {