summaryrefslogtreecommitdiff
path: root/backend-rpc.php
diff options
context:
space:
mode:
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;
+ }
}
?>