projects
/
quix0rs-gnu-social.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bf4928
)
append '/' on cookie path for now (may still need some refactoring)
author
Brion Vibber
<brion@pobox.com>
Thu, 28 Jan 2010 07:14:49 +0000
(23:14 -0800)
committer
Brion Vibber
<brion@pobox.com>
Thu, 28 Jan 2010 07:14:49 +0000
(23:14 -0800)
lib/util.php
patch
|
blob
|
history
diff --git
a/lib/util.php
b/lib/util.php
index c6dc4b43aa2b99b177ddee23d1b426be4fc8931b..26a12871b96b0f1938e216ff185f469a06aba3f5 100644
(file)
--- 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'])) {