issue75, function_exists check for sqlite3_open only if db_access is set to "native"
authorAndreas Unterkircher <unki@netshadow.at>
Sat, 3 Nov 2007 12:13:06 +0000 (12:13 +0000)
committerAndreas Unterkircher <unki@netshadow.at>
Sat, 3 Nov 2007 12:13:06 +0000 (12:13 +0000)
git-svn-id: file:///var/lib/svn/phpfspot/trunk@287 fa6a889d-dae6-447d-9e79-4ba9a3039384

phpfspot.class.php

index 559e4f55184164c763fefb408cb0a838ef51afae..f88ddf815b9cd1a66fa3045ca8ba3bc2c561eeb2 100644 (file)
@@ -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;
       }