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

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

Binary file not shown.

View File

@@ -9,10 +9,10 @@
define('DB_ROOT', __DIR__ . '/..'); define('DB_ROOT', __DIR__ . '/..');
// Local dev database (php -S, never committed) // 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) // 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. * Determine which database to use.