version 1.49.6.5, 2018/12/01 16:38:06
|
version 1.49.6.5.2.1, 2020/05/25 16:45:31
|
Line 65 sub real_handler {
|
Line 65 sub real_handler {
|
|
|
unless (&Apache::lonnet::allowed('mgr')) { |
unless (&Apache::lonnet::allowed('mgr')) { |
# Check for critical messages and redirect if present. |
# Check for critical messages and redirect if present. |
my ($redirect,$url) = &Apache::loncommon::critical_redirect(300); |
my ($redirect,$url) = &Apache::loncommon::critical_redirect(300,'grades'); |
if ($redirect) { |
if ($redirect) { |
&Apache::loncommon::content_type($r,'text/html'); |
&Apache::loncommon::content_type($r,'text/html'); |
$r->header_out(Location => $url); |
$r->header_out(Location => $url); |