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

5 Commits

Author SHA1 Message Date
Glendon Solsberry
9f70e8163f Checks to see if file_exists *and* it's an actual file.
The current check short-circuits too early, allowing the existence of a folder at $uri
to trigger a false positive. This verifies that the file at $uri is actually a file before
returning.
2017-07-18 09:57:41 -04:00
Vic D'Elfant
a0dbae74bf Shortened isset() 2017-06-09 09:46:53 -04:00
Vic D'Elfant
745005dcae Simplified HTTP_HOST rewriting 2017-06-09 09:46:53 -04:00
Kennedy Tedesco
29dafe848c Move isActualFile() to ValetDriver 2016-05-10 14:43:38 -03:00
Taylor Otwell
97f7ae2342 organize better 2016-05-10 08:29:24 -05:00