Adding third parameter (filename) to upload method.
This commit is contained in:
parent
56c6202d28
commit
52bce5596e
|
@ -34,7 +34,7 @@ ## File Uploads
|
||||||
|
|
||||||
#### Moving a $_FILE to a permanent location:
|
#### 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).
|
> **Note:** You can easily validate file uploads using the [Validator class](/docs/validation).
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue