This commit is contained in:
2026-01-23 23:15:06 +01:00
parent 140f9b4288
commit a9445b305f
13 changed files with 314 additions and 287 deletions

View File

@@ -1 +1,11 @@
<?php // TODO
<?php
$env = getenv('APP_ENV') ?: 'staging';
$env = strtolower($env);
if ($env === 'production') {
$path = __DIR__ . '/production/db.php';
} else {
$path = __DIR__ . '/staging/db.php';
}
return require $path;