mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-01-06 15:09:15 +00:00
move some cookies to init-params
This commit is contained in:
@@ -186,10 +186,13 @@
|
||||
}
|
||||
|
||||
if ($subop == "sanityCheck") {
|
||||
print "<rpc-reply>";
|
||||
if (sanity_check($link)) {
|
||||
print "<error error-code=\"0\"/>";
|
||||
print_init_params($link);
|
||||
}
|
||||
}
|
||||
print "</rpc-reply>";
|
||||
}
|
||||
|
||||
if ($subop == "globalPurge") {
|
||||
|
||||
@@ -198,5 +201,11 @@
|
||||
print "</rpc-reply>";
|
||||
|
||||
}
|
||||
|
||||
if ($subop == "storeParam") {
|
||||
$key = $_GET["key"];
|
||||
$value = $_GET["value"];
|
||||
$_SESSION["stored-params"][$key] = $value;
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user