From 100c1666f39eb1f4c1f3dce11389ccb77bd3dd45 Mon Sep 17 00:00:00 2001 From: qorg11 Date: Thu, 26 Nov 2020 21:57:53 +0100 Subject: [PATCH] Default file size to 100MB --- http/upload.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http/upload.cgi b/http/upload.cgi index 618bb6f..936ecc5 100755 --- a/http/upload.cgi +++ b/http/upload.cgi @@ -27,7 +27,7 @@ $size = $ENV{CONTENT_LENGTH}; # Configuration -our $MAX_SIZE = 1024*1024*10; # Change for your size +our $MAX_SIZE = 1024*1024*100; # Change for your size our $MAX_SIZE_MB = $MAX_SIZE / 1024 / 1024; # Don't change this our @not_allowed_extensions = qw(sh out exe);