Diff for /loncom/interface/lonsource.pm between versions 1.14 and 1.15

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;
     }       } 

Removed from v.1.14  
changed lines
  Added in v.1.15


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>