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 745005d commit a0dbae7Copy full SHA for a0dbae7
cli/drivers/LaravelValetDriver.php
@@ -54,7 +54,7 @@ public function isStaticFile($sitePath, $siteName, $uri)
54
public function frontControllerPath($sitePath, $siteName, $uri)
55
{
56
// Shortcut for getting the "local" hostname as the HTTP_HOST
57
- if (isset($_SERVER['HTTP_X_ORIGINAL_HOST']) && isset($_SERVER['HTTP_X_FORWARDED_HOST'])) {
+ if (isset($_SERVER['HTTP_X_ORIGINAL_HOST'], $_SERVER['HTTP_X_FORWARDED_HOST'])) {
58
$_SERVER['HTTP_HOST'] = $_SERVER['HTTP_X_FORWARDED_HOST'];
59
}
60
0 commit comments