Skip to content

Commit

Permalink
Fixes #645 - adds zip and rar to filetype
Browse files Browse the repository at this point in the history
  • Loading branch information
snipe committed Mar 12, 2015
1 parent 83c6371 commit cb171bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/admin/LicensesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ public function postUpload($licenseId = null)
foreach(Input::file('licensefile') as $file) {

$rules = array(
'licensefile' => 'required|mimes:png,gif,jpg,jpeg,doc,docx,pdf,txt|max:2000'
'licensefile' => 'required|mimes:png,gif,jpg,jpeg,doc,docx,pdf,txt,zip,rar|max:2000'
);
$validator = Validator::make(array('licensefile'=> $file), $rules);

Expand Down

0 comments on commit cb171bc

Please sign in to comment.