summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-06-22 19:07:01 +0000
committerZeev Suraski <zeev@php.net>1999-06-22 19:07:01 +0000
commitacddd0f13caca33bf2322914e5a335f328dbccb5 (patch)
treea7931b55881be70d95e819723a1b5107cd618c4f
parent3eac45ea80288498cd3e33eb4bba91181bd6a0c6 (diff)
downloadphp-git-acddd0f13caca33bf2322914e5a335f328dbccb5.tar.gz
Fix compile-time definition of track_vars default
-rw-r--r--main/main.c2
1 files changed, 1 insertions, 1 deletions
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()