diff options
-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); |