Merge pull request #735 from lukemartin/patch-1

Adding third parameter (filename) to upload method.
This commit is contained in:
Taylor Otwell 2012-06-03 15:38:27 -07:00
commit aae8b62d6a

View File

@ -34,7 +34,7 @@
#### Moving a $_FILE to a permanent location:
Input::upload('picture', 'path/to/pictures');
Input::upload('picture', 'path/to/pictures', 'filename.ext');
> **Note:** You can easily validate file uploads using the [Validator class](/docs/validation).