1
0

Moved helper scripts to bin/ dir.

This commit is contained in:
2017-12-18 15:02:24 +01:00
parent 9d3ad675ef
commit f37b98cbee
11 changed files with 25 additions and 7 deletions

View File

@ -12,7 +12,7 @@ class SQLiteReader
public function __construct()
{
$this->dbFile = 'otadb.db3';
$this->dbFile = __DIR__ . '/../../otadb.db3';
$this->pdo = new \PDO('sqlite:' . $this->dbFile);
if ($this->pdo === false) {
return false;

View File

@ -9,7 +9,7 @@ class SQLiteWriter
public function __construct()
{
$this->dbFile = 'otadb.db3';
$this->dbFile = __DIR__ . '/../../otadb.db3';
$this->pdo = new \PDO('sqlite:' . $this->dbFile);
if ($this->pdo === false) {
return false;