From 333f0b2aae2ed1fc26493562d0e81ea8b07282c9 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 8 Dec 2006 06:36:10 +0100 Subject: [PATCH] block database backed sessions with mysql --- sanity_check.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sanity_check.php b/sanity_check.php index 7bc40520d..53193a2d6 100644 --- a/sanity_check.php +++ b/sanity_check.php @@ -94,6 +94,10 @@ $err_msg = "config: DATABASE_BACKED_SESSIONS is incompatible with SINGLE_USER_MODE"; } + if (DATABASE_BACKED_SESSIONS && DB_TYPE == "mysql") { + $err_msg = "config: DATABASE_BACKED_SESSIONS are currently broken with MySQL"; + } + if ($err_msg) { print "Fatal Error: $err_msg\n"; exit;