webgui for windows changes

This commit is contained in:
JT Smith 2006-07-21 20:42:50 +00:00
parent db204ea1d1
commit 9f3ff77dbd
5 changed files with 123 additions and 120 deletions

View file

@ -24,8 +24,6 @@ use Storable qw(nstore retrieve);
use strict;
use warnings;
use WebGUI::Utility;
use Apache2::Request;
use Apache2::Upload;
=head1 NAME
@ -198,6 +196,8 @@ sub addFileFromFormPost {
my $formVariableName = shift;
my $attachmentLimit = shift || 99999;
return "" if ($self->session->http->getStatus() =~ /^413/);
require Apache2::Request;
require Apache2::Upload;
my $filename;
my $attachmentCount = 1;
foreach my $upload ($self->session->request->upload($formVariableName)) {