version 1.14, 2005/06/23 23:51:32
|
version 1.15, 2005/07/08 10:39:49
|
Line 214 sub handler {
|
Line 214 sub handler {
|
$env{'user.error.msg'}="$filename:cre:1:1:Source code not available"; |
$env{'user.error.msg'}="$filename:cre:1:1:Source code not available"; |
return HTTP_NOT_ACCEPTABLE; |
return HTTP_NOT_ACCEPTABLE; |
} |
} |
unless (&Apache::lonnet::allowed('bre',$filename)) { |
unless ((&Apache::lonnet::allowed('bre',$filename)) && |
|
(&Apache::lonnet::allowed('cre','/'))) { |
$env{'user.error.msg'}="$filename:bre:1:1:Access to resource denied"; |
$env{'user.error.msg'}="$filename:bre:1:1:Access to resource denied"; |
return HTTP_NOT_ACCEPTABLE; |
return HTTP_NOT_ACCEPTABLE; |
} |
} |