Merge pull request #735 from lukemartin/patch-1
Adding third parameter (filename) to upload method.
This commit is contained in:
@@ -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).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user