dropping the setcookie() call from common_ensure_session() since we're pretty sure it's unnecessary

This commit is contained in:
Brion Vibber 2010-01-27 23:16:06 -08:00
parent 65c4cff01c
commit 78fe76b058

View File

@ -178,7 +178,6 @@ function common_ensure_session()
} }
if (isset($id)) { if (isset($id)) {
session_id($id); session_id($id);
setcookie(session_name(), $id, 0, common_config('site', 'path') . '/');
} }
@session_start(); @session_start();
if (!isset($_SESSION['started'])) { if (!isset($_SESSION['started'])) {