sanity check for DATABASE_BACKED_SESSIONS && SINGLE_USER_MODE
This commit is contained in:
parent
061c26766e
commit
8a414837ec
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue