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

Fixes issue #244, where the Craft CMS admin panel is inaccessible (#252)

This commit is contained in:
M. Mikkel Rummelhoff
2016-12-14 21:12:19 +01:00
committed by Taylor Otwell
parent 3704eb659c
commit 9c8f5de52a

View File

@@ -175,6 +175,7 @@ public function frontControllerPath($sitePath, $siteName, $uri)
$_SERVER['SCRIPT_FILENAME'] = $indexPath;
$_SERVER['SERVER_NAME'] = $_SERVER['HTTP_HOST'];
$_SERVER['SCRIPT_NAME'] = $scriptName;
$_SERVER['PHP_SELF'] = $scriptName;
return $indexPath;
}