Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Commit

Permalink
bug fix mime
Browse files Browse the repository at this point in the history
thx harimayco
  • Loading branch information
fherryfherry committed Aug 11, 2016
1 parent 3034777 commit f36b590
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ public function __construct() {

if(in_array($field, $image_candidate)) {
$type = 'upload';
$add_attr = ', "help"=>"Please upload Image only, Max file size is 2 MB, File types support only : JPG, JPEG, PNG, GIF, BMP", "mimes":"jpg,jpeg,png,gif,bmp"';
$add_attr = ', "help"=>"Please upload Image only, Max file size is 2 MB, File types support only : JPG, JPEG, PNG, GIF, BMP", "mimes"=>"jpg,jpeg,png,gif,bmp"';
}

if($field == 'latitude' || $field == 'longitude') {
Expand Down

0 comments on commit f36b590

Please sign in to comment.