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

Fix code styling

This commit is contained in:
mattstauffer
2024-05-31 22:45:28 +00:00
committed by github-actions[bot]
parent 3003ccb18e
commit cb1cc54927

View File

@@ -52,7 +52,7 @@ public function frontControllerPath(string $sitePath, string $siteName, string $
if (preg_match('/^\/(?!(kirby|site|content)\/).+\.php$/', $uri)) { if (preg_match('/^\/(?!(kirby|site|content)\/).+\.php$/', $uri)) {
if ( if (
$this->isActualFile($sitePath.$uri) || $this->isActualFile($sitePath.$uri) ||
$isAboveWebroot && $this->isActualFile($sitePath."/public".$uri) $isAboveWebroot && $this->isActualFile($sitePath.'/public'.$uri)
) { ) {
$scriptName = $uri; $scriptName = $uri;
$indexPath = $sitePath.$scriptName; $indexPath = $sitePath.$scriptName;