1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-02-10 16:01:33 +00:00

do not use session cookie lifetime for additional cookies

This commit is contained in:
Andrew Dolgov
2013-04-29 13:03:28 +04:00
parent a845a3d5e5
commit e57a1507ae
4 changed files with 6 additions and 8 deletions

View File

@@ -114,7 +114,7 @@ class Pref_Prefs extends Handler_Protected {
if ($pref_name == "language") {
if ($_SESSION["language"] != $value) {
setcookie("ttrss_lang", $value,
time() + SESSION_COOKIE_LIFETIME);
time() + COOKIE_LIFETIME_LONG);
$_SESSION["language"] = $value;
$need_reload = true;