summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpfspot.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpfspot.class.php b/phpfspot.class.php
index 559e4f5..f88ddf8 100644
--- a/phpfspot.class.php
+++ b/phpfspot.class.php
@@ -1410,7 +1410,7 @@ class PHPFSPOT {
$missing = true;
}
- if(!function_exists("sqlite3_open")) {
+ if($this->cfg->db_access == "native" && !function_exists("sqlite3_open")) {
print "PHP SQLite3 library extension is missing<br />\n";
$missing = true;
}