mirror of
https://github.com/laravel/valet.git
synced 2026-02-06 08:40:09 +01:00
fix env configs with craft
This commit is contained in:
@@ -43,7 +43,7 @@ public function isStaticFile($sitePath, $siteName, $uri)
|
||||
public function frontControllerPath($sitePath, $siteName, $uri)
|
||||
{
|
||||
$_SERVER['SCRIPT_FILENAME'] = $sitePath.'/public/index.php';
|
||||
|
||||
$_SERVER['SERVER_NAME'] = $_SERVER['HTTP_HOST'];
|
||||
$_SERVER['SCRIPT_NAME'] = '/index.php';
|
||||
|
||||
return $sitePath.'/public/index.php';
|
||||
|
||||
Reference in New Issue
Block a user