Skip to content

Commit aae8b62

Browse files
committed
Merge pull request laravel#735 from lukemartin/patch-1
Adding third parameter (filename) to upload method.
2 parents 0bdfea3 + 52bce55 commit aae8b62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

laravel/documentation/files.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
#### Moving a $_FILE to a permanent location:
3636

37-
Input::upload('picture', 'path/to/pictures');
37+
Input::upload('picture', 'path/to/pictures', 'filename.ext');
3838

3939
> **Note:** You can easily validate file uploads using the [Validator class](/docs/validation).
4040

0 commit comments

Comments
 (0)