diff --git a/include/sanity_check.php b/include/sanity_check.php index fc9c49a4..dddc557f 100755 --- a/include/sanity_check.php +++ b/include/sanity_check.php @@ -90,7 +90,7 @@ } } - if (SINGLE_USER_MODE) { + if (SINGLE_USER_MODE && class_exists("PDO")) { $pdo = DB::pdo(); $res = $pdo->query("SELECT id FROM ttrss_users WHERE id = 1");