Diff for /loncom/lonnet/perl/lonnet.pm between versions 1.696 and 1.697

version 1.696, 2006/01/11 08:08:23 version 1.697, 2006/01/11 08:24:21
Line 6149  sub declutter { Line 6149  sub declutter {
     if ($thisfn=~m|^/enc/|) { $thisfn=&Apache::lonenc::unencrypted($thisfn); }      if ($thisfn=~m|^/enc/|) { $thisfn=&Apache::lonenc::unencrypted($thisfn); }
     $thisfn=~s/^\Q$perlvar{'lonDocRoot'}\E//;      $thisfn=~s/^\Q$perlvar{'lonDocRoot'}\E//;
     $thisfn=~s/^\///;      $thisfn=~s/^\///;
     $thisfn=~s/^res\///;  
     $thisfn=~s/\?.+$//;  
     $thisfn=~s|^adm/wrapper/||;      $thisfn=~s|^adm/wrapper/||;
     $thisfn=~s|^adm/coursedocs/showdoc/||;      $thisfn=~s|^adm/coursedocs/showdoc/||;
       $thisfn=~s/^res\///;
       $thisfn=~s/\?.+$//;
     return $thisfn;      return $thisfn;
 }  }
   

Removed from v.1.696  
changed lines
  Added in v.1.697


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