From: Evan Prodromou Date: Thu, 28 Jan 2010 06:24:00 +0000 (-0500) Subject: set session cookie correctly X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1ba8045a9b318fd19fb55d2c469bd23a3976c2e8;p=quix0rs-gnu-social.git set session cookie correctly --- diff --git a/lib/util.php b/lib/util.php index 4312f9876b..c6dc4b43aa 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'])) {