1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-07 01:00:09 +01:00

some cleaning

This commit is contained in:
Taylor Otwell
2016-05-06 13:03:46 -05:00
parent 623d241386
commit 00c44a74d2
2 changed files with 14 additions and 5 deletions

View File

@@ -47,10 +47,6 @@ public function isStaticFile($sitePath, $siteName, $uri)
*/
public function frontControllerPath($sitePath, $siteName, $uri)
{
if (isset($_SERVER['HTTP_X_ORIGINAL_HOST'])) {
$_SERVER['HTTP_HOST'] = $_SERVER['HTTP_X_ORIGINAL_HOST'];
}
return $sitePath.'/public/index.php';
}
}