![]() ![]() | ![]() |
version 1.459.2.1, 2004/01/15 19:43:07 | version 1.459.2.2, 2004/01/26 22:00:07 |
---|---|
Line 4429 sub filelocation { | Line 4429 sub filelocation { |
$location=$file; | $location=$file; |
} else { | } else { |
$file=~s/^$perlvar{'lonDocRoot'}//; | $file=~s/^$perlvar{'lonDocRoot'}//; |
$file=~s:^/*res::; | $file=~s:^/res/:/:; |
if ( !( $file =~ m:^/:) ) { | if ( !( $file =~ m:^/:) ) { |
$location = $dir. '/'.$file; | $location = $dir. '/'.$file; |
} else { | } else { |