Diff for /loncom/lonnet/perl/lonnet.pm between versions 1.234 and 1.235

version 1.234, 2002/05/27 19:03:59 version 1.235, 2002/05/29 14:10:28
Line 1737  sub is_on_map { Line 1737  sub is_on_map {
     $pathname=~s/\/$filename$//;      $pathname=~s/\/$filename$//;
     my $match=($ENV{'acc.res.'.$ENV{'request.course.id'}.'.'.$pathname}=~      my $match=($ENV{'acc.res.'.$ENV{'request.course.id'}.'.'.$pathname}=~
        /\&$filename\:([\d\|]+)\&/);         /\&$filename\:([\d\|]+)\&/);
     &logthis('is: '.$uri.' '.$match.' '.$1);  
     if ($match) {      if ($match) {
        return (1,$1);         return (1,$1);
    } else {     } else {
Line 2788  sub declutter { Line 2787  sub declutter {
     $thisfn=~s/^$perlvar{'lonDocRoot'}//;      $thisfn=~s/^$perlvar{'lonDocRoot'}//;
     $thisfn=~s/^\///;      $thisfn=~s/^\///;
     $thisfn=~s/^res\///;      $thisfn=~s/^res\///;
       $thisfn=~s/\?.+$//;
     return $thisfn;      return $thisfn;
 }  }
   

Removed from v.1.234  
changed lines
  Added in v.1.235


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