mirror of
https://github.com/laravel/valet.git
synced 2026-02-06 08:40:09 +01:00
Move isActualFile() to ValetDriver
This commit is contained in:
@@ -29,9 +29,9 @@ public function isStaticFile($sitePath, $siteName, $uri)
|
||||
return false;
|
||||
} elseif (strpos($uri, '/local') === 0 || strpos($uri, '/statamic') === 0) {
|
||||
return false;
|
||||
} elseif (file_exists($staticFilePath = $sitePath.$uri)) {
|
||||
} elseif ($this->isActualFile($staticFilePath = $sitePath.$uri)) {
|
||||
return $staticFilePath;
|
||||
} elseif (file_exists($staticFilePath = $sitePath.'/public'.$uri)) {
|
||||
} elseif ($this->isActualFile($staticFilePath = $sitePath.'/public'.$uri)) {
|
||||
return $staticFilePath;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user