mirror of
https://github.com/laravel/valet.git
synced 2026-02-05 16:40:05 +01:00
@@ -27,6 +27,7 @@ public function frontControllerPath($sitePath, $siteName, $uri)
|
|||||||
{
|
{
|
||||||
$_SERVER['PHP_SELF'] = $uri;
|
$_SERVER['PHP_SELF'] = $uri;
|
||||||
$_SERVER['SERVER_ADDR'] = '127.0.0.1';
|
$_SERVER['SERVER_ADDR'] = '127.0.0.1';
|
||||||
|
$_SERVER['SERVER_NAME'] = $_SERVER['HTTP_HOST'];
|
||||||
|
|
||||||
return parent::frontControllerPath(
|
return parent::frontControllerPath(
|
||||||
$sitePath, $siteName, $this->forceTrailingSlash($uri)
|
$sitePath, $siteName, $this->forceTrailingSlash($uri)
|
||||||
|
|||||||
Reference in New Issue
Block a user