issue59, made single-photo view without html tables
[phpfspot.git] / phpfspot_db.php
index e9c99ce62ad906e5345a154c275f1d5d6959bd59..df41e73e7bd9cc31881ca8d916ffaf405f26e878 100644 (file)
@@ -73,6 +73,7 @@ class PHPFSPOT_DB {
                $this->setConnStatus(false);
             }
             else {
+               sqlite3_create_function($this->db, 'basename', 1, 'basename');
                $this->setConnStatus(true);
             }
             break;