--- loncom/publisher/londiff.pm 2011/10/30 14:59:57 1.32 +++ loncom/publisher/londiff.pm 2011/11/07 18:28:28 1.33 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler to show differences between file versions # -# $Id: londiff.pm,v 1.32 2011/10/30 14:59:57 raeburn Exp $ +# $Id: londiff.pm,v 1.33 2011/11/07 18:28:28 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -187,8 +187,7 @@ sub handler { @f2=&get_split_file($fn,'local'); $r->print(''.&mt('Construction Space Version').''); } else { - my $fn= - '/home/httpd/html/res/'.$cudom.'/'.$cuname.'/'; + my $fn=$r->dir_config('lonDocRoot')."/res/$cudom/$cuname/"; if ($env{'form.versiontwo'}) { my ($main,$suffix,$is_meta)= &Apache::lonretrieve::get_file_info($efn);