version 1.37, 2013/06/04 22:20:16
|
version 1.38, 2017/05/07 13:26:40
|
Line 85 sub handler {
|
Line 85 sub handler {
|
if ($env{'form.filename'}=~ m{^/res/}) { |
if ($env{'form.filename'}=~ m{^/res/}) { |
if (&Apache::lonnet::allowed('bre',$env{'form.filename'})) { |
if (&Apache::lonnet::allowed('bre',$env{'form.filename'})) { |
if ($env{'request.course.id'}) { |
if ($env{'request.course.id'}) { |
if (&Apache::lonnet::allowed('mdc',$env{'request.course.id'})) { |
if ((&Apache::lonnet::allowed('mdc',$env{'request.course.id'})) || |
|
(&Apache::lonnet::allowed('cev',$env{'request.course.id'}))) { |
$allowed = 1; |
$allowed = 1; |
} |
} |
} else { |
} else { |