Forum .LRN Q&A: Re: File-Storage: Upload larger 1meg

Collapse
Posted by Christian Fuchs on
I forgot, I changed:

max_size -requires {upload_file} {
set n_bytes [file size ${upload_file.tmpfile}]
set max_bytes [ad_parameter "MaximumFileSize"]
if { $n_bytes > $max_bytes } {
# ad_complain "Your file is larger than the maximum file size allowed on this system ([util_commify_number $max_bytes] bytes)"
}
in file-add.tcl