diff --git a/www/_util/PileDB.php b/www/_util/PileDB.php index bd1d032..f8a324c 100644 --- a/www/_util/PileDB.php +++ b/www/_util/PileDB.php @@ -4,9 +4,9 @@ class PileDB { private $db; - function __construct() + function __construct($dbpath = "pile.db") { - $this->db = new SQLite3("pile.db"); + $this->db = new SQLite3($dbpath); } function prepare($statement)