version 1.14, 2023/11/19 21:28:17
|
version 1.15, 2024/04/14 17:12:28
|
Line 49 sub handler {
|
Line 49 sub handler {
|
my $uri = $request->uri; |
my $uri = $request->uri; |
$uri =~ s{^/daxeopen}{}; |
$uri =~ s{^/daxeopen}{}; |
&Apache::loncommon::no_cache($request); |
&Apache::loncommon::no_cache($request); |
my %editors = &Apache::loncommon::permitted_editors(); |
my %editors = &Apache::loncommon::permitted_editors($uri); |
unless ($editors{'daxe'}) { |
unless ($editors{'daxe'}) { |
$request->content_type('text/plain'); |
$request->content_type('text/plain'); |
$request->print(&mt('Daxe editor is not enabled for this Authoring Space.')); |
$request->print(&mt('Daxe editor is not enabled for this Authoring Space.')); |