block database backed sessions with mysql

This commit is contained in:
Andrew Dolgov 2006-12-08 06:36:10 +01:00
parent 85f57c80bd
commit 333f0b2aae

View file

@ -94,6 +94,10 @@
$err_msg = "config: DATABASE_BACKED_SESSIONS is incompatible with SINGLE_USER_MODE"; $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) { if ($err_msg) {
print "<b>Fatal Error</b>: $err_msg\n"; print "<b>Fatal Error</b>: $err_msg\n";
exit; exit;