diff options
author | Evan Prodromou <evan@status.net> | 2010-01-28 01:24:00 -0500 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-01-28 01:24:00 -0500 |
commit | 1ba8045a9b318fd19fb55d2c469bd23a3976c2e8 (patch) | |
tree | 626a40084085ffa52d1f0c93154f42519d9e368d /lib | |
parent | a85a3ddc725a99ea182e86ec65f6be574752b18f (diff) |
set session cookie correctly
Diffstat (limited to 'lib')
-rw-r--r-- | lib/util.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php index 4312f9876..c6dc4b43a 100644 --- a/lib/util.php +++ b/lib/util.php @@ -178,7 +178,7 @@ function common_ensure_session() } if (isset($id)) { session_id($id); - setcookie(session_name(), $id); + setcookie(session_name(), $id, 0, common_config('site', 'path')); } @session_start(); if (!isset($_SESSION['started'])) { |