--- loncom/interface/lonindexer.pm 2003/07/17 21:11:09 1.69 +++ loncom/interface/lonindexer.pm 2003/09/23 00:26:10 1.76 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Directory Indexer # -# $Id: lonindexer.pm,v 1.69 2003/07/17 21:11:09 www Exp $ +# $Id: lonindexer.pm,v 1.76 2003/09/23 00:26:10 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -62,6 +62,7 @@ use strict; use Apache::lonnet(); use Apache::loncommon(); use Apache::Constants qw(:common); +use Apache::lonmeta; use Apache::File; use GDBM_File; @@ -85,7 +86,7 @@ my @Omit = (); sub handler { my $r = shift; my $c = $r->connection(); - $r->content_type('text/html'); + &Apache::loncommon::content_type($r,'text/html'); &Apache::loncommon::no_cache($r); $r->send_http_header; return OK if $r->header_only; @@ -319,7 +320,11 @@ END