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;

View File

@@ -1 +1,8 @@
<?php // TODO
<?php
return [
'db_host' => 'localhost',
'db_name' => 'd0453540',
'db_user' => 'd0453540',
'db_pass' => 'P6jGRrSaX8QSiBMEJBL7',
'db_charset' => 'utf8mb4',
];