projects
/
phpfspot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
issue75, function_exists check for sqlite3_open only if db_access is set to "native"
[phpfspot.git]
/
phpfspot.class.php
diff --git
a/phpfspot.class.php
b/phpfspot.class.php
index 559e4f55184164c763fefb408cb0a838ef51afae..f88ddf815b9cd1a66fa3045ca8ba3bc2c561eeb2 100644
(file)
--- 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;
}