mirror of
https://github.com/php/php-src.git
synced 2024-12-12 19:33:31 +08:00
parent
94982058b6
commit
5b78e4c025
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user