mirror of
https://github.com/laravel/valet.git
synced 2026-02-07 01:00:09 +01:00
port over additional header information from other drivers
This commit is contained in:
committed by
ehlovader
parent
7f0bdb737b
commit
d54ac3206b
@@ -48,6 +48,7 @@ public function isStaticFile($sitePath, $siteName, $uri)
|
|||||||
public function frontControllerPath($sitePath, $siteName, $uri)
|
public function frontControllerPath($sitePath, $siteName, $uri)
|
||||||
{
|
{
|
||||||
$_SERVER['PHP_SELF'] = $uri;
|
$_SERVER['PHP_SELF'] = $uri;
|
||||||
|
$_SERVER['SERVER_ADDR'] = '127.0.0.1';
|
||||||
$_SERVER['SERVER_NAME'] = $_SERVER['HTTP_HOST'];
|
$_SERVER['SERVER_NAME'] = $_SERVER['HTTP_HOST'];
|
||||||
|
|
||||||
return parent::frontControllerPath(
|
return parent::frontControllerPath(
|
||||||
|
|||||||
Reference in New Issue
Block a user