Skip to content

Commit cb171bc

Browse files
committed
Fixes snipe#645 - adds zip and rar to filetype
1 parent 83c6371 commit cb171bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/admin/LicensesController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ public function postUpload($licenseId = null)
668668
foreach(Input::file('licensefile') as $file) {
669669

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

0 commit comments

Comments
 (0)