Trouble Ticket Express

  home | help | dashboard | my tickets | contact us | login
Help Center


Q&A Directory
    File Attachments Module
 
        How could I change max file size?
 

How could I change max file size?
 
By default the TTXFile.pm module allows uploading of up to 4MB files. In order to change this value, please edit the file TTXFile.pm. Look for line 9, which reads

my $MAXSIZE = 4 * 1024 * 1024;

The $MAXSIZE variable holds the max file size value. Setting it to

my $MAXSIZE = 1 * 1024 * 1024;

will limit size of uploaded files by 1MB.