replaced $session{cgi} with $session{req}
This commit is contained in:
parent
1b0adbb416
commit
c01d7e49d5
33 changed files with 76 additions and 66 deletions
|
|
@ -245,7 +245,7 @@ sub view {
|
|||
next if ($input_name !~ /^HttpProxy_/); # Skip non proxied form var's
|
||||
$input_name =~ s/^HttpProxy_//;
|
||||
|
||||
my $uploadFile = $session{cgi}->tmpFileName($session{form}{'HttpProxy_'.$input_name});
|
||||
my $uploadFile = $session{req}->tmpFileName($session{form}{'HttpProxy_'.$input_name});
|
||||
if(-r $uploadFile) { # Found uploaded file
|
||||
@formUpload=($uploadFile, qq/$session{form}{'HttpProxy_'.$input_name}/);
|
||||
$formdata{$input_name}=\@formUpload;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue