diff options
author | Andrew Dolgov <[email protected]> | 2006-03-30 07:24:23 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2006-03-30 07:24:23 +0100 |
commit | 8a414837ec3b4388ec20cc08329e9c0b0863c252 (patch) | |
tree | 83265e0e4d4cf16597266349307f6aee629cac21 | |
parent | 061c26766e507837300bf7a0153126aefd35c34c (diff) |
sanity check for DATABASE_BACKED_SESSIONS && SINGLE_USER_MODE
-rw-r--r-- | backend.php | 4 | ||||
-rw-r--r-- | tt-rss.js | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/backend.php b/backend.php index 43b3b4290..44391c482 100644 --- a/backend.php +++ b/backend.php @@ -3912,6 +3912,10 @@ return "config: you have enabled DISABLE_SESSIONS. Please disable this option."; } + if (DATABASE_BACKED_SESSIONS && SINGLE_USER_MODE) { + return "config: DATABASE_BACKED_SESSIONS is incompatible with SINGLE_USER_MODE"; + } + return false; } @@ -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; } |