From: Andrew Dolgov Date: Thu, 2 Mar 2006 08:42:24 +0000 (+0100) Subject: move bracket in sessions.php X-Git-Tag: schema_freeze_for_1.1.4~28 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=c5466b7f57df3f297cf5d5369133a402d081a758;p=tt-rss.git move bracket in sessions.php --- diff --git a/sessions.php b/sessions.php index 44d2f746..36a982f7 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();