append '/' on cookie path for now (may still need some refactoring)

This commit is contained in:
Brion Vibber 2010-01-27 23:14:49 -08:00
parent 5bf4928db8
commit 65c4cff01c
1 changed files with 1 additions and 1 deletions

View File

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