1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-05 16:40:05 +01:00
Files
laravel-valet/cli/drivers/LaravelValetDriver.php
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

1.7 KiB