helly Wed Dec 31 12:52:28 2008 UTC
Modified files:
/php-src/ext/standard info.c
Log:
- Do not show core ini entries twice
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/info.c?r1=1.299&r2=1.300&diff_format=u
Index: php-src/ext/standard/info.c
diff -u php-src/ext/standard/info.c:1.299 php-src/ext/standard/info.c:1.300
--- php-src/ext/standard/info.c:1.299 Wed Dec 31 11:12:36 2008
+++ php-src/ext/standard/info.c Wed Dec 31 12:52:28 2008
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: info.c,v 1.299 2008/12/31 11:12:36 sebastian Exp $ */
+/* $Id: info.c,v 1.300 2008/12/31 12:52:28 helly Exp $ */
#include "php.h"
#include "php_ini.h"
@@ -849,8 +849,10 @@
} 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) {
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php