@@ -24,14 +24,16 @@ |
||
| 24 | 24 | { |
| 25 | 25 | $dotenvPath = $env->get('DOTENV_PATH', $dirs->get('root') . '.env'); |
| 26 | 26 | |
| 27 | - if (!file_exists($dotenvPath)) { |
|
| 27 | + if (!file_exists($dotenvPath)) |
|
| 28 | + { |
|
| 28 | 29 | return; |
| 29 | 30 | } |
| 30 | 31 | |
| 31 | 32 | $path = dirname($dotenvPath); |
| 32 | 33 | $file = basename($dotenvPath); |
| 33 | 34 | |
| 34 | - foreach (Dotenv::create($path, $file)->load() as $key => $value) { |
|
| 35 | + foreach (Dotenv::create($path, $file)->load() as $key => $value) |
|
| 36 | + { |
|
| 35 | 37 | $env->set($key, $value); |
| 36 | 38 | } |
| 37 | 39 | } |