This commit is contained in:
2026-01-24 00:25:50 +01:00
parent f0f9abdd66
commit f15cf0b0ff

View File

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