1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-24 15:31:29 +00:00

sanity check for DATABASE_BACKED_SESSIONS && SINGLE_USER_MODE

This commit is contained in:
Andrew Dolgov
2006-03-30 07:24:23 +01:00
parent 061c26766e
commit 8a414837ec
2 changed files with 6 additions and 2 deletions

View File

@@ -153,14 +153,14 @@ function backend_sanity_check_callback() {
try {
if (!xmlhttp.responseXML) {
fatalError(3, "D001;" + xmlhttp.responseText);
fatalError(3, "D001: " + xmlhttp.responseText);
return;
}
var reply = xmlhttp.responseXML.firstChild;
if (!reply) {
fatalError(3, "D002;" + xmlhttp.responseText);
fatalError(3, "D002: " + xmlhttp.responseText);
return;
}