From: Brion Vibber Date: Thu, 28 Jan 2010 07:14:49 +0000 (-0800) Subject: append '/' on cookie path for now (may still need some refactoring) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=65c4cff01c42a5c432db968cf6731104b8040134;p=quix0rs-gnu-social.git append '/' on cookie path for now (may still need some refactoring) --- diff --git a/lib/util.php b/lib/util.php index c6dc4b43aa..26a12871b9 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'])) {