fix #28324 _properly_
This commit is contained in:
Antony Dovgal 2005-02-10 20:22:07 +00:00
parent 94982058b6
commit 5b78e4c025

View File

@ -537,8 +537,11 @@ static void php_session_track_init(TSRMLS_D)
if (PG(register_long_arrays)) {
ZEND_SET_GLOBAL_VAR_WITH_LENGTH("HTTP_SESSION_VARS", sizeof("HTTP_SESSION_VARS"), PS(http_session_vars), 2, 1);
ZEND_SET_GLOBAL_VAR_WITH_LENGTH("_SESSION", sizeof("_SESSION"), PS(http_session_vars), 2, 1);
}
else {
ZEND_SET_GLOBAL_VAR_WITH_LENGTH("_SESSION", sizeof("_SESSION"), PS(http_session_vars), 1, 1);
}
ZEND_SET_GLOBAL_VAR_WITH_LENGTH("_SESSION", sizeof("_SESSION"), PS(http_session_vars), 2, 1);
}
static char *php_session_encode(int *newlen TSRMLS_DC)