Adding third parameter (filename) to upload method.

This commit is contained in:
lukemartin 2012-05-30 23:37:48 +02:00
parent 56c6202d28
commit 52bce5596e
1 changed files with 1 additions and 1 deletions

View File

@ -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).