move bracket in sessions.php

This commit is contained in:
Andrew Dolgov 2006-03-02 09:42:24 +01:00
parent 62b9256488
commit c5466b7f57
1 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@
ini_set("session.gc_probability", 50); ini_set("session.gc_probability", 50);
ini_set("session.name", "ttrss_sid"); ini_set("session.name", "ttrss_sid");
ini_set("session.use_only_cookies", true);
function open ($s, $n) { function open ($s, $n) {
@ -107,7 +108,7 @@
} }
if (DATABASE_BACKED_SESSIONS) { 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(); session_start();