]> granicus.if.org Git - php/commitdiff
- MFH Do not show core ini entries twice
authorMarcus Boerger <helly@php.net>
Wed, 31 Dec 2008 12:52:39 +0000 (12:52 +0000)
committerMarcus Boerger <helly@php.net>
Wed, 31 Dec 2008 12:52:39 +0000 (12:52 +0000)
ext/standard/info.c

index a8a750115d642ad524a9281d799024b7a8b2821e..9c59485eb742c546b44719fcedc6b0f91410d5cf 100644 (file)
@@ -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) {