Skip to content

Commit

Permalink
Update FileMethods.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Yushe authored Sep 9, 2016
1 parent b616a5c commit 4e3d101
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/models/Post/FileMethods.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ trait PostFileMethods
'image/jpg' => 'jpg',
'image/png' => 'png',
'image/gif' => 'gif',
'video/webm' => 'webm',
'video/mp4' => 'mp4',
'application/x-shockwave-flash' => 'swf'
];

Expand Down Expand Up @@ -715,4 +717,4 @@ protected function get_source_from_filename()
$this->source = $source;
}
}
}
}

0 comments on commit 4e3d101

Please sign in to comment.