diff options
author | Andrew Dolgov <[email protected]> | 2005-12-30 17:16:47 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2005-12-30 17:16:47 +0100 |
commit | bc2369382ccc3619c07c73f6f1b806946ab42bfa (patch) | |
tree | fe95a08b5ba66c50695652fb0186074e4dcdbc96 | |
parent | 57d7223aee754323a6abcddd34ea58bfd02bfd5b (diff) |
fix backend sanity failure (take 2)
-rw-r--r-- | backend.php | 4 | ||||
-rw-r--r-- | tt-rss.js | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/backend.php b/backend.php index e4dd4fea1..3578871e6 100644 --- a/backend.php +++ b/backend.php @@ -748,7 +748,9 @@ } if ($subop == "sanityCheck") { - sanity_check($link); + if (sanity_check($link)) { + print "<error error-code=\"0\"/>"; + } } if ($subop == "globalPurge") { @@ -111,6 +111,8 @@ function backend_sanity_check_callback() { if (xmlhttp.readyState == 4) { try { + + alert(xmlhttp.responseText); if (!xmlhttp.responseXML) { fatalError(3); |