iliaa Thu Jul 31 18:56:57 2003 EDT Modified files: /php-src/main php_variables.c Log: Only register server variables when needed. Index: php-src/main/php_variables.c diff -u php-src/main/php_variables.c:1.67 php-src/main/php_variables.c:1.68 --- php-src/main/php_variables.c:1.67 Thu Jul 31 18:29:32 2003 +++ php-src/main/php_variables.c Thu Jul 31 18:56:57 2003 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_variables.c,v 1.67 2003/07/31 22:29:32 iliaa Exp $ */ +/* $Id: php_variables.c,v 1.68 2003/07/31 22:56:57 iliaa Exp $ */ #include <stdio.h> #include "php.h" @@ -639,7 +639,7 @@ } } - if (!jit_initialization && !_gpc_flags[4]) { + if (!jit_initialization && !have_variables_order && !_gpc_flags[4]) { php_register_server_variables(TSRMLS_C); if (PG(register_globals)) { php_autoglobal_merge(&EG(symbol_table), Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_SERVER]) TSRMLS_CC);
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php