cvs: php4 / php.ini-dist /main main.c
| From: | Jani Taskinen | Date: | Fri, 25 Apr 2003 10:57:24 +0000 |
| Subject: | cvs: php4 / php.ini-dist /main main.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-20490@lists.php.net to get a copy of this message | ||
sniper Fri Apr 25 06:57:24 2003 EDT
Modified files:
/php4 php.ini-dist
/php4/main main.c
Log:
- Made 'register_long_arrays' to be "On" by default.
Index: php4/php.ini-dist
diff -u php4/php.ini-dist:1.189 php4/php.ini-dist:1.190
--- php4/php.ini-dist:1.189 Sat Apr 5 06:38:13 2003
+++ php4/php.ini-dist Fri Apr 25 06:57:23 2003
@@ -364,7 +364,7 @@
; Whether or not to register the old-style input arrays, HTTP_GET_VARS
; and friends. If you're not using them, it's recommended to turn them off,
; for performance reasons.
-register_long_arrays = Off
+register_long_arrays = On
; This directive tells PHP whether to declare the argv&argc variables (that
; would contain the GET information). If you don't use these variables, you
Index: php4/main/main.c
diff -u php4/main/main.c:1.547 php4/main/main.c:1.548
--- php4/main/main.c:1.547 Wed Apr 16 08:44:08 2003
+++ php4/main/main.c Fri Apr 25 06:57:23 2003
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: main.c,v 1.547 2003/04/16 12:44:08 sas Exp $ */
+/* $Id: main.c,v 1.548 2003/04/25 10:57:23 sniper Exp $ */
/* {{{ includes
*/
@@ -291,7 +291,7 @@
STD_PHP_INI_ENTRY("output_handler", NULL, PHP_INI_PERDIR|PHP_INI_SYSTEM, OnUpdateString, output_handler, php_core_globals, core_globals)
STD_PHP_INI_BOOLEAN("register_argc_argv", "1", PHP_INI_PERDIR|PHP_INI_SYSTEM, OnUpdateBool, register_argc_argv, php_core_globals, core_globals)
STD_PHP_INI_BOOLEAN("register_globals", "0", PHP_INI_PERDIR|PHP_INI_SYSTEM, OnUpdateBool, register_globals, php_core_globals, core_globals)
- STD_PHP_INI_BOOLEAN("register_long_arrays", "0", PHP_INI_PERDIR|PHP_INI_SYSTEM, OnUpdateBool, register_long_arrays, php_core_globals, core_globals)
+ STD_PHP_INI_BOOLEAN("register_long_arrays", "1", PHP_INI_PERDIR|PHP_INI_SYSTEM, OnUpdateBool, register_long_arrays, php_core_globals, core_globals)
#if PHP_SAFE_MODE
STD_PHP_INI_BOOLEAN("safe_mode", "1", PHP_INI_SYSTEM, OnUpdateBool, safe_mode, php_core_globals, core_globals)
#else