helly Wed Dec 31 12:52:39 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/standard info.c
Log:
- MFH Do not show core ini entries twice
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/info.c?r1=1.249.2.10.2.14.2.19&r2=1.249.2.10.2.14.2.20&diff_format=u
Index: php-src/ext/standard/info.c
diff -u php-src/ext/standard/info.c:1.249.2.10.2.14.2.19
php-src/ext/standard/info.c:1.249.2.10.2.14.2.20
--- php-src/ext/standard/info.c:1.249.2.10.2.14.2.19 Wed Dec 31 11:15:45 2008
+++ php-src/ext/standard/info.c Wed Dec 31 12:52:39 2008
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: info.c,v 1.249.2.10.2.14.2.19 2008/12/31 11:15:45 sebastian Exp $ */
+/* $Id: info.c,v 1.249.2.10.2.14.2.20 2008/12/31 12:52:39 helly Exp $ */
#include "php.h"
#include "php_ini.h"
@@ -883,8 +883,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