From 8a414837ec3b4388ec20cc08329e9c0b0863c252 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 30 Mar 2006 07:24:23 +0100 Subject: sanity check for DATABASE_BACKED_SESSIONS && SINGLE_USER_MODE --- backend.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'backend.php') 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; } -- cgit v1.2.3-54-g00ecf