diff options
author | Andrew Dolgov <[email protected]> | 2017-07-28 07:49:49 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2017-07-28 07:49:49 +0300 |
commit | 70f38e9c4fc9eec74a7f648474433184b4dede18 (patch) | |
tree | b89f8a0930aaf7660366800b9b58f37fac26e488 /db.php | |
parent | 44b2603786d3cb720119b855580e434dd93529cb (diff) |
db: allow absolute paths for scratch db
Diffstat (limited to 'db.php')
-rw-r--r-- | db.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4,7 +4,7 @@ class Db { private $dbh; private function __construct() { - $this->dbh = new SQLite3(__DIR__ . "/" . SCRATCH_DB); + $this->dbh = new SQLite3(SCRATCH_DB); $this->dbh->busyTimeout(30*1000); $this->dbh->exec('PRAGMA journal_mode = wal;'); } |