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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user