diff options
author | Brion Vibber <brion@pobox.com> | 2010-01-27 23:14:49 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-01-27 23:14:49 -0800 |
commit | 65c4cff01c42a5c432db968cf6731104b8040134 (patch) | |
tree | a71dd604768b9a1add81185b401e0e7b1aa62a1a /lib | |
parent | 5bf4928db81ad8fbb0eff425951e703d7ebc3677 (diff) |
append '/' on cookie path for now (may still need some refactoring)
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 c6dc4b43a..26a12871b 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, 0, common_config('site', 'path')); + setcookie(session_name(), $id, 0, common_config('site', 'path') . '/'); } @session_start(); if (!isset($_SESSION['started'])) { |