Return to lonauth.pm CVS log | Up to [LON-CAPA] / loncom / auth |
version 1.119, 2011/09/29 13:43:22 | version 1.120, 2011/11/07 18:15:07 |
---|---|
Line 195 sub reroute { | Line 195 sub reroute { |
sub handler { | sub handler { |
my $r = shift; | my $r = shift; |
my $londocroot = $r->dir_config('lonDocRoot'); | |
my $form; | my $form; |
# Are we re-routing? | # Are we re-routing? |
if (-e '/home/httpd/html/lon-status/reroute.txt') { | if (-e "$londocroot/lon-status/reroute.txt") { |
&reroute($r); | &reroute($r); |
return OK; | return OK; |
} | } |