Diff for /loncom/cgi/ping.pl between versions 1.3 and 1.4

version 1.3, 2002/09/09 14:18:56 version 1.4, 2003/02/25 20:50:31
Line 12  use LONCAPA::Configuration; Line 12  use LONCAPA::Configuration;
 use IO::File;  use IO::File;
 use IO::Socket;  use IO::Socket;
   
   my %perlvar;
   
 # -------------------------------------------------- Non-critical communication  # -------------------------------------------------- Non-critical communication
 sub reply {  sub reply {
     my ($cmd,$server)=@_;      my ($cmd,$server)=@_;
Line 30  sub reply { Line 32  sub reply {
   
 # --------------------- Read loncapa.conf (and by default loncapa_apache.conf).  # --------------------- Read loncapa.conf (and by default loncapa_apache.conf).
 my $perlvarref=LONCAPA::Configuration::read_conf('loncapa.conf');  my $perlvarref=LONCAPA::Configuration::read_conf('loncapa.conf');
 my %perlvar=%{$perlvarref};  %perlvar=%{$perlvarref};
 undef $perlvarref; # remove since sensitive and not needed  undef $perlvarref; # remove since sensitive and not needed
 delete $perlvar{'lonReceipt'}; # remove since sensitive and not needed  delete $perlvar{'lonReceipt'}; # remove since sensitive and not needed
 delete $perlvar{'lonSqlAccess'}; # remove since sensitive and not needed  delete $perlvar{'lonSqlAccess'}; # remove since sensitive and not needed

Removed from v.1.3  
changed lines
  Added in v.1.4


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>