Return to lonpublisher.pm CVS log | Up to [LON-CAPA] / loncom / publisher |
version 1.221, 2007/03/02 23:18:19 | version 1.222, 2007/03/02 23:20:17 |
---|---|
Line 418 sub urlfixup { | Line 418 sub urlfixup { |
} | } |
} | } |
if ($url=~/^(?:http|https|ftp)\:\/\//) { return $url; } | if ($url=~/^(?:http|https|ftp)\:\/\//) { return $url; } |
$url=~s/\~$cuname/res\/$cudom\/$cuname/; | $url=~s{\Q~$cuname\E}{res/$cudom/$cuname}; |
return $url; | return $url; |
} | } |