mirror of
https://github.com/laravel/valet.git
synced 2026-02-07 09:10:03 +01:00
Merge pull request #37 from KennedyTedesco/valet-driver
BasicValetDriver - Minor change
This commit is contained in:
@@ -27,7 +27,7 @@ public function isStaticFile($sitePath, $siteName, $uri)
|
|||||||
{
|
{
|
||||||
if (file_exists($staticFilePath = $sitePath.'/public'.$uri)) {
|
if (file_exists($staticFilePath = $sitePath.'/public'.$uri)) {
|
||||||
return $staticFilePath;
|
return $staticFilePath;
|
||||||
} elseif (file_exists($staticFilePath = $sitePath.$uri) && ! is_dir($staticFilePath)) {
|
} elseif ($this->isActualFile($staticFilePath = $sitePath.$uri)) {
|
||||||
return $staticFilePath;
|
return $staticFilePath;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user