From: Andreas Unterkircher Date: Sat, 3 Nov 2007 12:13:06 +0000 (+0000) Subject: issue75, function_exists check for sqlite3_open only if db_access is set to "native" X-Git-Tag: phpfspot-1.2~51 X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=360821514a97c946ab0ae66a2677380ad72bd794;p=phpfspot.git 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 --- 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
\n"; $missing = true; }