Diff for /loncom/build/weblayer_test/test_weblayer.pl between versions 1.2 and 1.3

version 1.2, 2002/05/08 18:47:31 version 1.3, 2002/05/11 21:20:15
Line 34  test_weblayer.pl - Test the LON-CAPA web Line 34  test_weblayer.pl - Test the LON-CAPA web
 # http://www.lon-capa.org/  # http://www.lon-capa.org/
 #  #
 # YEAR=2002  # YEAR=2002
 # 3/4 Scott Harrison  # 3/4,5/8,5/11 Scott Harrison
 #  #
 ###  ###
   
Line 56  with 'ZXQTEST' is created.  A test login Line 56  with 'ZXQTEST' is created.  A test login
 my %perlvar;  my %perlvar;
 open (CONFIG,"/etc/httpd/conf/access.conf") || die "Can't read access.conf";  open (CONFIG,"/etc/httpd/conf/access.conf") || die "Can't read access.conf";
 while ($configline=<CONFIG>) {  while ($configline=<CONFIG>) {
     if ($configline =~ /PerlSetVar/) {      if ($configline =~ /^[^\#]*PerlSetVar/) {
    my ($dummy,$varname,$varvalue)=split(/\s+/,$configline);
           chomp($varvalue);
           $perlvar{$varname}=$varvalue;
       }
   }
   close(CONFIG);
   open (CONFIG,"/etc/httpd/conf/loncapa.conf") || die "Can't read loncapa.conf";
   while ($configline=<CONFIG>) {
       if ($configline =~ /^[^\#]*PerlSetVar/) {
  my ($dummy,$varname,$varvalue)=split(/\s+/,$configline);   my ($dummy,$varname,$varvalue)=split(/\s+/,$configline);
         chomp($varvalue);          chomp($varvalue);
         $perlvar{$varname}=$varvalue;          $perlvar{$varname}=$varvalue;

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


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