From: Zeev Suraski Date: Tue, 22 Jun 1999 19:07:01 +0000 (+0000) Subject: Fix compile-time definition of track_vars default X-Git-Tag: BEFORE_REMOVING_GC_STEP1~98 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=acddd0f13caca33bf2322914e5a335f328dbccb5;p=php Fix compile-time definition of track_vars default --- diff --git a/main/main.c b/main/main.c index c979cbbec9..d311faa9cf 100644 --- a/main/main.c +++ b/main/main.c @@ -238,7 +238,7 @@ PHP_INI_BEGIN() PHP_INI_ENTRY("max_execution_time", "30", PHP_INI_ALL, OnChangeMaxExecutionTime) PHP_INI_ENTRY("memory_limit", "8388608", PHP_INI_ALL, OnChangeMemoryLimit) - STD_PHP_INI_BOOLEAN("track_vars", "0", PHP_INI_ALL, OnUpdateInt, track_vars, php_core_globals, core_globals) + STD_PHP_INI_BOOLEAN("track_vars", (PHP_TRACK_VARS?"1":"0"), PHP_INI_ALL, OnUpdateInt, track_vars, php_core_globals, core_globals) STD_PHP_INI_ENTRY("gpc_order", "GPC", PHP_INI_ALL, OnUpdateStringUnempty, gpc_order, php_core_globals, core_globals) STD_PHP_INI_ENTRY("arg_separator", "&", PHP_INI_ALL, OnUpdateStringUnempty, arg_separator, php_core_globals, core_globals) PHP_INI_END()