We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4dfe1f2 commit 3839041Copy full SHA for 3839041
server.php
@@ -6,7 +6,9 @@
6
require $basePath . '/vendor/autoload.php';
7
8
// Laravel will not overwrite existing environment variables, so we'll pull in custom ones here
9
-$dotenv = new Dotenv\Dotenv($basePath, '.env.dredd');
10
-$dotenv->load();
+if (file_exists($basePath . '/.env.dredd')) {
+ $dotenv = new Dotenv\Dotenv($basePath, '.env.dredd');
11
+ $dotenv->overload();
12
+}
13
14
require_once $basePath . '/server.php';
0 commit comments