summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2002-09-26 16:46:21 +0000
committerfoobar <sniper@php.net>2002-09-26 16:46:21 +0000
commit6b8480fab67843b3a096a084c4676f5ad9a30e2f (patch)
tree659cf60a0e321dbaf543f116add27075c40b46ed
parenta95fb6bfd68f4a6ac1d019e0bda7b384d6dc30cc (diff)
downloadphp-git-6b8480fab67843b3a096a084c4676f5ad9a30e2f.tar.gz
Fix bug: #14991 (changing session.use_trans_sid does not work in scripts)
-rw-r--r--ext/session/session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/session/session.c b/ext/session/session.c
index 52c8c84942..ab276fdbd9 100644
--- a/ext/session/session.c
+++ b/ext/session/session.c
@@ -139,7 +139,7 @@ PHP_INI_BEGIN()
STD_PHP_INI_ENTRY("session.entropy_length", "0", PHP_INI_ALL, OnUpdateInt, entropy_length, php_ps_globals, ps_globals)
STD_PHP_INI_ENTRY("session.cache_limiter", "nocache", PHP_INI_ALL, OnUpdateString, cache_limiter, php_ps_globals, ps_globals)
STD_PHP_INI_ENTRY("session.cache_expire", "180", PHP_INI_ALL, OnUpdateInt, cache_expire, php_ps_globals, ps_globals)
- STD_PHP_INI_BOOLEAN("session.use_trans_sid", "0", PHP_INI_ALL, OnUpdateBool, use_trans_sid, php_ps_globals, ps_globals)
+ STD_PHP_INI_BOOLEAN("session.use_trans_sid", "0", PHP_INI_SYSTEM|PHP_INI_PERDIR, OnUpdateBool, use_trans_sid, php_ps_globals, ps_globals)
/* Commented out until future discussion */
/* PHP_INI_ENTRY("session.encode_sources", "globals,track", PHP_INI_ALL, NULL) */