diff options
author | myk%mozilla.org <> | 2001-10-31 07:42:21 +0000 |
---|---|---|
committer | myk%mozilla.org <> | 2001-10-31 07:42:21 +0000 |
commit | 2b77f7466f51a1248e7cb8af45f41d812ddef8f8 (patch) | |
tree | cad615fdf1d42f5e01f6d855ff326575fd872aaa /defparams.pl | |
parent | 5fd4cf4381e34c57a6b1dcc7ea3fa57d8f42d0cf (diff) | |
download | bugs-2b77f7466f51a1248e7cb8af45f41d812ddef8f8.tar bugs-2b77f7466f51a1248e7cb8af45f41d812ddef8f8.tar.gz bugs-2b77f7466f51a1248e7cb8af45f41d812ddef8f8.tar.bz2 bugs-2b77f7466f51a1248e7cb8af45f41d812ddef8f8.tar.xz bugs-2b77f7466f51a1248e7cb8af45f41d812ddef8f8.zip |
Fix for bug 98602: re-implementation of "create attachment" page.
Patch by Myk Melez <myk@mozilla.org>.
r=gerv@mozilla.org,jake@acutex.net
Diffstat (limited to 'defparams.pl')
-rw-r--r-- | defparams.pl | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/defparams.pl b/defparams.pl index 58b06bec6..76fb77777 100644 --- a/defparams.pl +++ b/defparams.pl @@ -679,4 +679,28 @@ DefParam("useattachmenttracker", "b", 0); +# The maximum size (in bytes) for patches and non-patch attachments. +# The default limit is 1000KB, which is 24KB less than mysql's default +# maximum packet size (which determines how much data can be sent in a +# single mysql packet and thus how much data can be inserted into the +# database) to provide breathing space for the data in other fields of +# the attachment record as well as any mysql packet overhead (I don't +# know of any, but I suspect there may be some.) + +DefParam("maxpatchsize", + "The maximum size (in kilobytes) of patches. Bugzilla will not + accept patches greater than this number of kilobytes in size. + To accept patches of any size (subject to the limitations of + your server software), set this value to zero." , + "t", + '1000'); + +DefParam("maxattachmentsize" , + "The maximum size (in kilobytes) of non-patch attachments. Bugzilla + will not accept attachments greater than this number of kilobytes + in size. To accept attachments of any size (subject to the + limitations of your server software), set this value to zero." , + "t" , + '1000'); + 1; |