[LON-CAPA-cvs] cvs: loncom(version_1_1_X) /lonnet/perl lonnet.pm

albertel lon-capa-cvs@mail.lon-capa.org
Mon, 26 Jan 2004 22:00:07 -0000


albertel		Mon Jan 26 17:00:07 2004 EDT

  Modified files:              (Branch: version_1_1_X)
    /loncom/lonnet/perl	lonnet.pm 
  Log:
  - bacport 1.464
  
  
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.459.2.1 loncom/lonnet/perl/lonnet.pm:1.459.2.2
--- loncom/lonnet/perl/lonnet.pm:1.459.2.1	Thu Jan 15 14:43:07 2004
+++ loncom/lonnet/perl/lonnet.pm	Mon Jan 26 17:00:07 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # TCP networking package
 #
-# $Id: lonnet.pm,v 1.459.2.1 2004/01/15 19:43:07 albertel Exp $
+# $Id: lonnet.pm,v 1.459.2.2 2004/01/26 22:00:07 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -4429,7 +4429,7 @@
     $location=$file;
   } else {
     $file=~s/^$perlvar{'lonDocRoot'}//;
-    $file=~s:^/*res::;
+    $file=~s:^/res/:/:;
     if ( !( $file =~ m:^/:) ) {
       $location = $dir. '/'.$file;
     } else {