asdasd
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user