summaryrefslogtreecommitdiff
path: root/backend-rpc.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-05-23 06:34:50 +0100
committerAndrew Dolgov <[email protected]>2006-05-23 06:34:50 +0100
commit3ac2b52019535cf6162bb2e5d95d46c591958ff8 (patch)
treeced74f86f07cfb7debd3c6b0b9cac726b84c27cd /backend-rpc.php
parent3dd46f19db3d6ce71a65ea7c1013e16125a24ccc (diff)
move some cookies to init-params
Diffstat (limited to 'backend-rpc.php')
-rw-r--r--backend-rpc.php11
1 files changed, 10 insertions, 1 deletions
diff --git a/backend-rpc.php b/backend-rpc.php
index 2b2f61279..1e98aa125 100644
--- a/backend-rpc.php
+++ b/backend-rpc.php
@@ -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;
+ }
}
?>