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

Move isActualFile() to ValetDriver

This commit is contained in:
Kennedy Tedesco
2016-05-10 14:43:38 -03:00
parent 97f7ae2342
commit 29dafe848c
10 changed files with 22 additions and 23 deletions

View File

@@ -32,7 +32,7 @@ public function isStaticFile($sitePath, $siteName, $uri)
return false;
}
if (file_exists($staticFilePath = $sitePath.$uri)) {
if ($this->isActualFile($staticFilePath = $sitePath.$uri)) {
return $staticFilePath;
}