--- loncom/auth/lonauth.pm 2011/09/29 13:43:22 1.119 +++ loncom/auth/lonauth.pm 2012/04/11 11:40:07 1.121 @@ -1,7 +1,7 @@ # The LearningOnline Network # User Authentication Module # -# $Id: lonauth.pm,v 1.119 2011/09/29 13:43:22 raeburn Exp $ +# $Id: lonauth.pm,v 1.121 2012/04/11 11:40:07 goltermann Exp $ # # Copyright Michigan State University Board of Trustees # @@ -195,9 +195,10 @@ sub reroute { sub handler { my $r = shift; + my $londocroot = $r->dir_config('lonDocRoot'); my $form; # Are we re-routing? - if (-e '/home/httpd/html/lon-status/reroute.txt') { + if (-e "$londocroot/lon-status/reroute.txt") { &reroute($r); return OK; } @@ -226,7 +227,7 @@ sub handler { } $r->print( $start_page - .'

'.&mt('You are already logged in!').'

' + .'

' .'

'.&mt('Please either [_1]continue the current session[_2] or [_3]log out[_4].' ,'','','','') .'

'