Skip to content

Commit

Permalink
Merge pull request #33 from openjournalteam/1.0.1
Browse files Browse the repository at this point in the history
add compressed file
  • Loading branch information
thisnugroho authored Jun 16, 2022
2 parents 282d61c + 2a18e40 commit 481e837
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Http/Controllers/AttachmentController.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@

class AttachmentController extends BaseController
{
public const ALLOWED_FILE = 'zip,csv,txt,xlx,xls,pdf,gif,jpeg,jpg,png,pdf,gif,xls,xlsx,txt,geojson,doc,docx';
public const ALLOWED_MAX_SIZE = 1024 * 1024 * 10; // 10 MB;
public const ALLOWED_FILE = 'zip,rar,tar.gz,csv,txt,xlx,xls,pdf,gif,jpeg,jpg,png,pdf,gif,xls,xlsx,txt,geojson,doc,docx';
public const ALLOWED_MAX_SIZE = 1024 * 1024 * 500; // 500 MB;
public AttachmentManager $attachmentManager;

public function __construct()
Expand Down

0 comments on commit 481e837

Please sign in to comment.