mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-05-06 19:19:19 +02:00
fix: config/config.php — correct DB paths to app/storage/, add test.db for dev
This commit is contained in:
Binary file not shown.
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user