--- loncom/imspackages/imsprocessor.pm 2009/08/17 03:52:09 1.48 +++ loncom/imspackages/imsprocessor.pm 2011/10/24 23:41:52 1.49 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Processor for IMS Packages # -# $Id: imsprocessor.pm,v 1.48 2009/08/17 03:52:09 raeburn Exp $ +# $Id: imsprocessor.pm,v 1.49 2011/10/24 23:41:52 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -680,7 +680,7 @@ sub process_resinfo { } my $destresdir = $destdir; if ($context eq 'CSTR') { - $destresdir =~ s|/home/$uname/public_html/|/res/$udom/$uname/|; + $destresdir =~ s|/home/httpd/html/priv/|/res/|; } elsif ($context eq 'DOCS') { $destresdir =~ s|^/home/httpd/html/userfiles|/uploaded|; } @@ -3218,7 +3218,7 @@ sub process_assessment { } my $destresdir = $destdir; if ($context eq 'CSTR') { - $destresdir =~ s|/home/$uname/public_html/|/res/$udom/$uname/|; + $destresdir =~ s|/home/httpd/html/priv/|/res/|; } elsif ($context eq 'DOCS') { $destresdir =~ s|^/home/httpd/html/userfiles|/uploaded|; } @@ -4980,7 +4980,7 @@ sub process_content { my $xmlfile = $docroot.'/'.$res.".dat"; my $destresdir = $destdir; if ($context eq 'CSTR') { - $destresdir =~ s|/home/$user/public_html/|/res/$dom/$user/|; + $destresdir =~ s|/home/httpd/html/priv/|/res/|; } elsif ($context eq 'DOCS') { $destresdir =~ s|^/home/httpd/html/userfiles|/uploaded|; }