summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--db.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/db.php b/db.php
index 1654fe5..5c94ecb 100644
--- a/db.php
+++ b/db.php
@@ -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;');
}