]> git.wh0rd.org Git - tt-rss.git/commitdiff
block database backed sessions with mysql
authorAndrew Dolgov <fox@madoka.spb.ru>
Fri, 8 Dec 2006 05:36:10 +0000 (06:36 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Fri, 8 Dec 2006 05:36:10 +0000 (06:36 +0100)
sanity_check.php

index 7bc40520d0ddadba7ffb1ebad983149856880142..53193a2d66d4d2ebb72493a7d1591cbdacb48738 100644 (file)
                $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 "<b>Fatal Error</b>: $err_msg\n";
                exit;