Skip to content

Commit 0639238

Browse files
authored
Merge pull request #374 from tuxPM/patch-1
add loading of environment variables (#277)
2 parents 3dc0843 + c088e96 commit 0639238

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

server.php

+7
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,13 @@ function valet_default_site_path($config)
200200
$_SERVER['HTTP_HOST'] = $_SERVER['HTTP_X_ORIGINAL_HOST'];
201201
}
202202

203+
/**
204+
* Attempt to load server environment variables.
205+
*/
206+
$valetDriver->loadServerEnvironmentVariables(
207+
$valetSitePath, $siteName
208+
);
209+
203210
/**
204211
* Allow driver to mutate incoming URL.
205212
*/

0 commit comments

Comments
 (0)