Merge pull request #8668 from yiijan/docs-small-fix

docs/guide/input-file-upload.md - small fixes [ci skip]
This commit is contained in:
Paul Klimov
2015-06-05 15:31:25 +03:00

View File

@@ -48,7 +48,7 @@ In the code above, the `imageFile` attribute is used to keep the uploaded file i
a `file` validation rule which uses [[yii\validators\FileValidator]] to ensure a file with extension name `png` or `jpg`
is uploaded. The `upload()` method will perform the validation and save the uploaded file on the server.
The `file` validator allows you to check file extensions, size, MIME type, etc. For more details, please refer to
The `file` validator allows you to check file extensions, size, MIME type, etc. Please refer to
the [Core Validators](tutorial-core-validators.md#file) section for more details.
> Tip: If you are uploading an image, you may consider using the `image` validator instead. The `image` validator is