remove session info in syslog

This commit is contained in:
Evan Prodromou 2010-01-13 16:19:20 -08:00
parent d018ab7b0c
commit 464ce741a4

View File

@ -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);