summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinclude/sanity_check.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sanity_check.php b/include/sanity_check.php
index fc9c49a42..dddc557f2 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");