summaryrefslogtreecommitdiffstats
path: root/phpfspot.class.php
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2007-11-03 12:13:06 +0000
committerAndreas Unterkircher <unki@netshadow.at>2007-11-03 12:13:06 +0000
commit360821514a97c946ab0ae66a2677380ad72bd794 (patch)
tree42f1389eab1bcd4e4046680874e4d9b25e8041fd /phpfspot.class.php
parentd29d1f9ba7291c39f11f9f19d1212d69481b1cb1 (diff)
issue75, function_exists check for sqlite3_open only if db_access is set to "native"
git-svn-id: file:///var/lib/svn/phpfspot/trunk@287 fa6a889d-dae6-447d-9e79-4ba9a3039384
Diffstat (limited to 'phpfspot.class.php')
-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;
}