mirror of
https://github.com/laravel/valet.git
synced 2026-02-07 01:00:09 +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)) {
|
||||
return $staticFilePath;
|
||||
} elseif (file_exists($staticFilePath = $sitePath.$uri) && ! is_dir($staticFilePath)) {
|
||||
} elseif ($this->isActualFile($staticFilePath = $sitePath.$uri)) {
|
||||
return $staticFilePath;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user