This commit is contained in:
2026-03-02 22:41:45 +01:00
parent 3e78a77521
commit 98866fd19b
2 changed files with 5 additions and 0 deletions

View File

@@ -5,10 +5,13 @@ namespace App;
class Config
{
public string $assetVersion;
public function __construct(
public array $db,
public bool $dbEnabled = true
) {
$this->assetVersion = defined('ASSET_VERSION') ? ASSET_VERSION : '';
}
public function primaryUrl(): string