1
0
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:
Andrew Dolgov
2006-05-23 06:34:50 +01:00
parent 3dd46f19db
commit 3ac2b52019
6 changed files with 76 additions and 14 deletions

View File

@@ -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;
}
}
?>