fix: config/config.php — correct DB paths to app/storage/, add test.db for dev

This commit is contained in:
Pontoporeia committed 2026-04-20 14:12:26 +02:00
1 parent 5af31aceda
commit 033599aa36
2 files changed
+2 -2

No files matched your search

Binary file not shown.
+2 -2
View File
@@ -9,10 +9,10 @@
define('DB_ROOT', __DIR__ . '/..');
// Local dev database (php -S, never committed)
define('DB_TEST_PATH', DB_ROOT . '/storage/test.db');
define('DB_TEST_PATH', DB_ROOT . '/app/storage/test.db');
// Production database (nginx/php-fpm on server)
define('DB_PROD_PATH', DB_ROOT . '/storage/posterg.db');
define('DB_PROD_PATH', DB_ROOT . '/app/storage/posterg.db');
/**
* Determine which database to use.