]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
append '/' on cookie path for now (may still need some refactoring)
authorBrion Vibber <brion@pobox.com>
Thu, 28 Jan 2010 07:14:49 +0000 (23:14 -0800)
committerBrion Vibber <brion@pobox.com>
Thu, 28 Jan 2010 07:14:49 +0000 (23:14 -0800)
lib/util.php

index c6dc4b43aa2b99b177ddee23d1b426be4fc8931b..26a12871b96b0f1938e216ff185f469a06aba3f5 100644 (file)
@@ -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'])) {