[Bio] / FigWebServices / rast_submit_server.cgi Repository:
ViewVC logotype

Diff of /FigWebServices/rast_submit_server.cgi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.10, Tue Mar 30 21:50:10 2010 UTC revision 1.11, Thu Apr 1 20:26:24 2010 UTC
# Line 164  Line 164 
164          # from the CGI and give it to the handler as well.          # from the CGI and give it to the handler as well.
165          #          #
166          my $file = $cgi->upload('file');          my $file = $cgi->upload('file');
167            if (!ref($file))
168            {
169                $file = $cgi->param("file");
170            }
171    
172          my $params = $args[0];          my $params = $args[0];
173          $params->{-from} = $file if ref($params) eq 'HASH';          $params->{-from} = $file if ref($params) eq 'HASH';
# Line 214  Line 218 
218    
219          if ($@)          if ($@)
220          {          {
221                warn $@;
222              myerror($cgi, '500 error in method invocation', $@);              myerror($cgi, '500 error in method invocation', $@);
223          }          }
224    

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3