[LON-CAPA-cvs] cvs: loncom /auth lonacc.pm

www lon-capa-cvs@mail.lon-capa.org
Wed, 14 Dec 2005 16:50:59 -0000


www		Wed Dec 14 11:50:59 2005 EDT

  Modified files:              
    /loncom/auth	lonacc.pm 
  Log:
  Let browser determine what language to use in public access, rather than
  whatever language was last used in a specific child process.
  
  
Index: loncom/auth/lonacc.pm
diff -u loncom/auth/lonacc.pm:1.70 loncom/auth/lonacc.pm:1.71
--- loncom/auth/lonacc.pm:1.70	Tue Nov 29 16:12:03 2005
+++ loncom/auth/lonacc.pm	Wed Dec 14 11:50:59 2005
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Cookie Based Access Handler
 #
-# $Id: lonacc.pm,v 1.70 2005/11/29 21:12:03 albertel Exp $
+# $Id: lonacc.pm,v 1.71 2005/12/14 16:50:59 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -188,6 +188,7 @@
     if ($requrl=~m|^/public/|
 	|| (&Apache::lonnet::metadata($requrl,'copyright') eq 'public')) {
         &Apache::lonnet::logthis('Granting public access: '.$requrl);
+        &Apache::lonlocal::get_language_handle($r);
 	my $cookie=
 	    &Apache::lonauth::success($r,'public','public','public');
         my $lonidsdir=$r->dir_config('lonIDsDir');