1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 14:15:56 +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

@@ -479,7 +479,7 @@ class RPC extends Handler_Protected {
$wide = (int) $_REQUEST["wide"];
setcookie("ttrss_widescreen", $wide,
time() + SESSION_COOKIE_LIFETIME);
time() + COOKIE_LIFETIME_LONG);
print json_encode(array("wide" => $wide));
}