fix syntax error in upload_of... add types to file_wrong_type lang message.
This commit is contained in:
parent
2c4e807525
commit
fef1809982
|
@ -45,7 +45,7 @@
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
"file_wrong_type" => "The :attribute is an invalid file type.",
|
"file_wrong_type" => "The :attribute must be a file of type: :types.",
|
||||||
"file_too_big" => "The :attribute exceeds size limit of :maxkb.",
|
"file_too_big" => "The :attribute exceeds size limit of :maxkb.",
|
||||||
|
|
||||||
);
|
);
|
|
@ -106,7 +106,7 @@ public function is()
|
||||||
*/
|
*/
|
||||||
public function is_image()
|
public function is_image()
|
||||||
{
|
{
|
||||||
$this->types = array_merge($this->types, array('jpg', 'gif', 'png', 'bmp'))
|
$this->types = array_merge($this->types, array('jpg', 'gif', 'png', 'bmp'));
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue