mirror of
https://github.com/laravel/valet.git
synced 2026-02-04 16:10:08 +01:00
Merge branch 'version-4' of github.com:laravel/valet into version-4
This commit is contained in:
@@ -18,7 +18,7 @@ public function serves(string $sitePath, string $siteName, string $uri): bool
|
||||
public function beforeLoading(string $sitePath, string $siteName, string $uri): void
|
||||
{
|
||||
$_SERVER['PHP_SELF'] = $uri;
|
||||
$_SERVER['SERVER_ADDR'] = $_SERVER['SERVER_ADDR'] ??'127.0.0.1';
|
||||
$_SERVER['SERVER_ADDR'] = $_SERVER['SERVER_ADDR'] ?? '127.0.0.1';
|
||||
$_SERVER['SERVER_NAME'] = $_SERVER['HTTP_HOST'];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user