From c5466b7f57df3f297cf5d5369133a402d081a758 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 2 Mar 2006 09:42:24 +0100 Subject: [PATCH] move bracket in sessions.php --- sessions.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sessions.php b/sessions.php index 44d2f746d..36a982f7c 100644 --- a/sessions.php +++ b/sessions.php @@ -8,6 +8,7 @@ ini_set("session.gc_probability", 50); ini_set("session.name", "ttrss_sid"); + ini_set("session.use_only_cookies", true); function open ($s, $n) { @@ -107,7 +108,7 @@ } if (DATABASE_BACKED_SESSIONS) { - session_set_save_handler ("open", "close", "read", "write", "destroy", "gc"); + session_set_save_handler("open", "close", "read", "write", "destroy", "gc"); } session_start();