mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 18:55:55 +00:00
store widescreen status in a cookie (refs #539)
This commit is contained in:
@@ -667,7 +667,8 @@ class RPC extends Handler_Protected {
|
||||
function setpanelmode() {
|
||||
$wide = (int) $_REQUEST["wide"];
|
||||
|
||||
$_SESSION["widescreen"] = $wide;
|
||||
setcookie("ttrss_widescreen", $wide,
|
||||
time() + SESSION_COOKIE_LIFETIME);
|
||||
|
||||
print json_encode(array("wide" => $wide));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user