version 1.6, 2005/02/17 09:01:04
|
version 1.7, 2005/04/07 06:56:27
|
Line 45 use strict;
|
Line 45 use strict;
|
use Apache::File; |
use Apache::File; |
use Apache::lontexconvert; |
use Apache::lontexconvert; |
use Apache::Constants qw(:common); |
use Apache::Constants qw(:common); |
|
use Apache::lonnet; |
use tth; |
use tth; |
|
|
# ================================================================ Main Handler |
# ================================================================ Main Handler |
Line 56 sub handler {
|
Line 57 sub handler {
|
|
|
# ----------------------------------------------------------- Set document type |
# ----------------------------------------------------------- Set document type |
|
|
if ($ENV{'browser.mathml'}) { |
if ($env{'browser.mathml'}) { |
&Apache::loncommon::content_type($r,'text/xml'); |
&Apache::loncommon::content_type($r,'text/xml'); |
} else { |
} else { |
&Apache::loncommon::content_type($r,'text/html'); |
&Apache::loncommon::content_type($r,'text/html'); |