--- loncom/publisher/londiff.pm 2011/10/30 14:59:57 1.32 +++ loncom/publisher/londiff.pm 2011/12/23 14:54:26 1.34 @@ -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.34 2011/12/23 14:54:26 www 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); @@ -230,7 +229,6 @@ sub handler { } else { $r->print('

'.&mt('Binary File').'

'); } - $r->print('
'.&mt('Close This Window').'
'); $r->print(&Apache::loncommon::end_page()); return OK; }