mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-06-25 16:19:19 +02:00
rename posterg → xamxam throughout: nginx conf, scripts, PHP source, docs
This commit is contained in:
@@ -35,7 +35,7 @@ class Database {
|
||||
|
||||
/**
|
||||
* Determine database path.
|
||||
* Priority: explicit override → APP_ROOT /storage/posterg.db.
|
||||
* Priority: explicit override → APP_ROOT /storage/xamxam.db.
|
||||
* APP_ROOT is defined by bootstrap.php before any controller loads Database.
|
||||
*/
|
||||
private function determineDatabasePath($customPath = null): string {
|
||||
@@ -44,7 +44,7 @@ class Database {
|
||||
}
|
||||
|
||||
$root = defined('APP_ROOT') ? APP_ROOT : __DIR__ . '/..';
|
||||
return $root . '/storage/posterg.db';
|
||||
return $root . '/storage/xamxam.db';
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user