From: Chris W. <la...@us...> - 2005-02-28 00:58:54
|
Update of /cvsroot/openinteract/OpenInteract2/lib/OpenInteract2/Request In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30610/OpenInteract2/Request Modified Files: CGI.pm Log Message: take care of warning Index: CGI.pm =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/lib/OpenInteract2/Request/CGI.pm,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** CGI.pm 18 Feb 2005 03:30:26 -0000 1.21 --- CGI.pm 28 Feb 2005 00:58:44 -0000 1.22 *************** *** 31,39 **** } my $cgi = $self->cgi; ! my $req_type = $cgi->request_method; # Assign URL info from CGI... ! my $base_url = $cgi->script_name; $log->is_info && $log->info( "Deployed as $req_type to $base_url" ); --- 31,39 ---- } my $cgi = $self->cgi; ! my $req_type = $cgi->request_method || 'GET'; # Assign URL info from CGI... ! my $base_url = $cgi->script_name || ''; $log->is_info && $log->info( "Deployed as $req_type to $base_url" ); |