This commit is contained in:
2026-01-23 23:27:18 +01:00
parent a9445b305f
commit 0a784ef454
12 changed files with 4 additions and 16 deletions

View File

@@ -1,10 +1,9 @@
<?php <?php
$env = getenv('APP_ENV') ?: 'staging'; $env = strtolower(getenv('APP_ENV') ?: 'staging');
$env = strtolower($env); $env = $env === 'production' ? 'prod' : $env;
if ($env === 'production') { $path = __DIR__ . '/' . $env . '/db.php';
$path = __DIR__ . '/production/db.php'; if (!is_file($path)) {
} else {
$path = __DIR__ . '/staging/db.php'; $path = __DIR__ . '/staging/db.php';
} }

View File

@@ -1 +0,0 @@
<?php // TODO

View File

@@ -1 +0,0 @@
<?php // TODO

View File

@@ -1 +0,0 @@
<?php // TODO

View File

@@ -1 +0,0 @@
<?php // TODO

View File

@@ -1 +0,0 @@
<?php // TODO

View File

@@ -1 +0,0 @@
<?php // TODO

View File

@@ -1 +0,0 @@
<?php // TODO

View File

@@ -1 +0,0 @@
<?php // TODO

View File

@@ -1 +0,0 @@
<?php // TODO

View File

@@ -1 +0,0 @@
<?php // TODO

View File

@@ -1 +0,0 @@
<?php // TODO