--- loncom/interface/loncreatecourse.pm 2003/09/09 17:26:03 1.37 +++ loncom/interface/loncreatecourse.pm 2003/09/21 21:40:06 1.38 @@ -1,7 +1,7 @@ # The LearningOnline Network # Create a course # -# $Id: loncreatecourse.pm,v 1.37 2003/09/09 17:26:03 www Exp $ +# $Id: loncreatecourse.pm,v 1.38 2003/09/21 21:40:06 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -47,6 +47,7 @@ use Apache::lonnet; use Apache::loncommon; use Apache::lonratedt; use Apache::londocs; +use Apache::lonlocal; # -------------------------------------------- Return path to profile directory @@ -542,13 +543,13 @@ sub handler { my $r = shift; if ($r->header_only) { - $r->content_type('text/html'); + &Apache::loncommon::content_type($r,'text/html'); $r->send_http_header; return OK; } if (&Apache::lonnet::allowed('ccc',$ENV{'request.role.domain'})) { - $r->content_type('text/html'); + &Apache::loncommon::content_type($r,'text/html'); $r->send_http_header; if ($ENV{'form.phase'} eq 'two') {