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

fix statamic cp

This commit is contained in:
Taylor Otwell
2016-05-05 10:47:09 -05:00
parent a8e7ac7c0a
commit b229534192

View File

@@ -48,6 +48,8 @@ public function isStaticFile($sitePath, $siteName, $uri)
*/
public function frontControllerPath($sitePath, $siteName, $uri)
{
$_SERVER['SCRIPT_NAME'] = '/index.php';
if (file_exists($indexPath = $sitePath.'/index.php')) {
return $indexPath;
}