forked from GNUsocial/gnu-social
remove session info in syslog
This commit is contained in:
parent
d018ab7b0c
commit
464ce741a4
@ -173,10 +173,8 @@ function common_ensure_session()
|
|||||||
}
|
}
|
||||||
if (array_key_exists(session_name(), $_GET)) {
|
if (array_key_exists(session_name(), $_GET)) {
|
||||||
$id = $_GET[session_name()];
|
$id = $_GET[session_name()];
|
||||||
common_log(LOG_INFO, 'Setting session from GET parameter: '.$id);
|
|
||||||
} else if (array_key_exists(session_name(), $_COOKIE)) {
|
} else if (array_key_exists(session_name(), $_COOKIE)) {
|
||||||
$id = $_COOKIE[session_name()];
|
$id = $_COOKIE[session_name()];
|
||||||
common_log(LOG_INFO, 'Setting session from COOKIE: '.$id);
|
|
||||||
}
|
}
|
||||||
if (isset($id)) {
|
if (isset($id)) {
|
||||||
session_id($id);
|
session_id($id);
|
||||||
|
Loading…
Reference in New Issue
Block a user