diff options
Diffstat (limited to 'backend-rpc.php')
-rw-r--r-- | backend-rpc.php | 11 |
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; + } } ?> |