[LON-CAPA-cvs] cvs: loncom /lonnet/perl lonnet.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Thu, 22 Dec 2005 20:56:30 -0000
albertel Thu Dec 22 15:56:30 2005 EDT
Modified files:
/loncom/lonnet/perl lonnet.pm
Log:
- /ext/ resource are known in the _symb.db cahce as ext/.... not adm/wrapper/ext/....
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.686 loncom/lonnet/perl/lonnet.pm:1.687
--- loncom/lonnet/perl/lonnet.pm:1.686 Mon Dec 19 16:03:53 2005
+++ loncom/lonnet/perl/lonnet.pm Thu Dec 22 15:56:28 2005
@@ -1,7 +1,7 @@
# The LearningOnline Network
# TCP networking package
#
-# $Id: lonnet.pm,v 1.686 2005/12/19 21:03:53 albertel Exp $
+# $Id: lonnet.pm,v 1.687 2005/12/22 20:56:28 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -5445,6 +5445,9 @@
if ( ($thisfn =~ m/^(uploaded|editupload)\//) && ($thisfn !~ m/\.(page|sequence)$/) ) {
$targetfn = 'adm/wrapper/'.$thisfn;
}
+ if ($targetfn =~ m|^adm/wrapper/(ext/.*)|) {
+ $targetfn=$1;
+ }
if (tie(%hash,'GDBM_File',$env{'request.course.fn'}.'_symb.db',
&GDBM_READER(),0640)) {
$syval=$hash{$targetfn};