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