mirror of
https://github.com/laravel/valet.git
synced 2026-02-06 16:50:09 +01:00
Apply fixes from StyleCI
This commit is contained in:
committed by
StyleCI Bot
parent
3a5d12e24d
commit
101abeae0e
@@ -28,6 +28,7 @@ public function isStaticFile($sitePath, $siteName, $uri)
|
||||
if ($this->isActualFile($staticFilePath = $sitePath.'/Web'.$uri)) {
|
||||
return $staticFilePath;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -45,6 +46,7 @@ public function frontControllerPath($sitePath, $siteName, $uri)
|
||||
putenv('FLOW_REWRITEURLS=1');
|
||||
$_SERVER['SCRIPT_FILENAME'] = $sitePath.'/Web/index.php';
|
||||
$_SERVER['SCRIPT_NAME'] = '/index.php';
|
||||
|
||||
return $sitePath.'/Web/index.php';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user