1
0
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:
Taylor Otwell
2016-05-12 16:37:10 -05:00
parent 3fbec25a12
commit d9050a0ea6

View File

@@ -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';