From 8864ad2606cdfc85fc7ac95e872687a88cc94bb5 Mon Sep 17 00:00:00 2001 From: foobar Date: Fri, 5 Aug 2005 21:44:26 +0000 Subject: [PATCH] - This ini option is only effective when set in php.ini or httpd.conf or .htacces, etc. as GPC variables are set before any ini_set() is called --- main/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/main.c b/main/main.c index e1a4e111f1..71bcd366cb 100644 --- a/main/main.c +++ b/main/main.c @@ -302,7 +302,7 @@ PHP_INI_BEGIN() STD_PHP_INI_ENTRY("upload_tmp_dir", NULL, PHP_INI_SYSTEM, OnUpdateStringUnempty, upload_tmp_dir, php_core_globals, core_globals) STD_PHP_INI_ENTRY("user_dir", NULL, PHP_INI_SYSTEM, OnUpdateString, user_dir, php_core_globals, core_globals) - STD_PHP_INI_ENTRY("variables_order", "EGPCS", PHP_INI_ALL, OnUpdateStringUnempty, variables_order, php_core_globals, core_globals) + STD_PHP_INI_ENTRY("variables_order", "EGPCS", PHP_INI_SYSTEM|PHP_INI_PERDIR, OnUpdateStringUnempty, variables_order, php_core_globals, core_globals) STD_PHP_INI_ENTRY("error_append_string", NULL, PHP_INI_ALL, OnUpdateString, error_append_string, php_core_globals, core_globals) STD_PHP_INI_ENTRY("error_prepend_string", NULL, PHP_INI_ALL, OnUpdateString, error_prepend_string, php_core_globals, core_globals) -- 2.40.0