Skip to content

Commit b13a3e1

Browse files
committed
Load Env variables before application start
1 parent 882efa4 commit b13a3e1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

app/start/global.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
<?php
22

3-
// Load Environment Variables
4-
$dotenv = new Dotenv\Dotenv(base_path());
5-
$dotenv->load();
6-
73
/*
84
|--------------------------------------------------------------------------
95
| Register The Laravel Class Loader

bootstrap/start.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
<?php
22

3+
// Load Environment Variables
4+
$dotenv = new Dotenv\Dotenv(base_path());
5+
$dotenv->load();
6+
37
/*
48
|--------------------------------------------------------------------------
59
| Create The Application

0 commit comments

Comments
 (0)