[LON-CAPA-cvs] cvs: loncom /xml lonxml.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Wed, 16 Mar 2005 15:46:42 -0000
albertel Wed Mar 16 10:46:42 2005 EDT
Modified files:
/loncom/xml lonxml.pm
Log:
- context_type takes care of switching it to xml now
Index: loncom/xml/lonxml.pm
diff -u loncom/xml/lonxml.pm:1.363 loncom/xml/lonxml.pm:1.364
--- loncom/xml/lonxml.pm:1.363 Wed Mar 16 08:24:15 2005
+++ loncom/xml/lonxml.pm Wed Mar 16 10:46:42 2005
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# XML Parser Module
#
-# $Id: lonxml.pm,v 1.363 2005/03/16 13:24:15 albertel Exp $
+# $Id: lonxml.pm,v 1.364 2005/03/16 15:46:42 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1297,11 +1297,7 @@
$Apache::lonxml::debug=$ENV{'user.debug'};
- if ($ENV{'browser.mathml'}) {
- &Apache::loncommon::content_type($request,'text/xml');
- } else {
- &Apache::loncommon::content_type($request,'text/html');
- }
+ &Apache::loncommon::content_type($request,'text/html');
&Apache::loncommon::no_cache($request);
if ($ENV{'request.state'} eq 'published') {
$request->set_last_modified(&Apache::lonnet::metadata($request->uri,