projects
/
phpfspot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
issue59, fixed position of photo-index navigation after removing html tables
[phpfspot.git]
/
phpfspot_db.php
diff --git
a/phpfspot_db.php
b/phpfspot_db.php
index 4e87cf9c87927978eb2ed671d7554cc5e2fe5458..df41e73e7bd9cc31881ca8d916ffaf405f26e878 100644
(file)
--- a/
phpfspot_db.php
+++ b/
phpfspot_db.php
@@
-73,6
+73,7
@@
class PHPFSPOT_DB {
$this->setConnStatus(false);
}
else {
$this->setConnStatus(false);
}
else {
+ sqlite3_create_function($this->db, 'basename', 1, 'basename');
$this->setConnStatus(true);
}
break;
$this->setConnStatus(true);
}
break;
@@
-202,7
+203,7
@@
class PHPFSPOT_DB {
$result = $this->db_query($query);
switch($this->parent->cfg->db_access) {
case 'native':
$result = $this->db_query($query);
switch($this->parent->cfg->db_access) {
case 'native':
- $row = $
result->fetchRow(
);
+ $row = $
this->db_fetch_object($result
);
break;
case 'pdo':
$row = $result[0];
break;
case 'pdo':
$row = $result[0];