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

www lon-capa-cvs@mail.lon-capa.org
Tue, 16 Sep 2003 18:15:43 -0000


www		Tue Sep 16 14:15:43 2003 EDT

  Modified files:              
    /loncom/auth	lonacc.pm loncacc.pm lonlogin.pm 
  Log:
  Initialize language handle
  
  
Index: loncom/auth/lonacc.pm
diff -u loncom/auth/lonacc.pm:1.46 loncom/auth/lonacc.pm:1.47
--- loncom/auth/lonacc.pm:1.46	Mon May 12 20:52:46 2003
+++ loncom/auth/lonacc.pm	Tue Sep 16 14:15:43 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Cookie Based Access Handler
 #
-# $Id: lonacc.pm,v 1.46 2003/05/13 00:52:46 www Exp $
+# $Id: lonacc.pm,v 1.47 2003/09/16 18:15:43 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -44,6 +44,7 @@
 use Apache::File;
 use Apache::lonnet;
 use Apache::loncommon();
+use Apache::lonlocal;
 use CGI::Cookie();
 use Fcntl qw(:flock);
 
@@ -62,6 +63,10 @@
 # ------------------------------------------------------ Initialize Environment
 
             &Apache::lonnet::transfer_profile_to_env($lonidsdir,$handle);
+
+# --------------------------------------------------------- Initialize Language
+
+	    &Apache::lonlocal::get_language_handle();
 
 # -------------------------------------------------------------- Resource State
 
Index: loncom/auth/loncacc.pm
diff -u loncom/auth/loncacc.pm:1.29 loncom/auth/loncacc.pm:1.30
--- loncom/auth/loncacc.pm:1.29	Tue Jun 10 20:39:46 2003
+++ loncom/auth/loncacc.pm	Tue Sep 16 14:15:43 2003
@@ -2,7 +2,7 @@
 # Cookie Based Access Handler for Construction Area
 # (lonacc: 5/21/99,5/22,5/29,5/31 Gerd Kortemeyer)
 #
-# $Id: loncacc.pm,v 1.29 2003/06/11 00:39:46 www Exp $
+# $Id: loncacc.pm,v 1.30 2003/09/16 18:15:43 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -42,6 +42,7 @@
 use Apache::File;
 use CGI::Cookie();
 use Fcntl qw(:flock);
+use Apache::lonlocal;
 
 sub constructaccess {
     my ($url,$ownerdomain)=@_;
@@ -80,6 +81,10 @@
 # ------------------------------------------------------ Initialize Environment
 
             &Apache::lonnet::transfer_profile_to_env($lonidsdir,$handle);
+
+# --------------------------------------------------------- Initialize Language
+ 
+ 	    &Apache::lonlocal::get_language_handle();
 
 # -------------------------------------------------------------- Resource State
 
Index: loncom/auth/lonlogin.pm
diff -u loncom/auth/lonlogin.pm:1.49 loncom/auth/lonlogin.pm:1.50
--- loncom/auth/lonlogin.pm:1.49	Thu Sep 11 16:54:11 2003
+++ loncom/auth/lonlogin.pm	Tue Sep 16 14:15:43 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Login Screen
 #
-# $Id: lonlogin.pm,v 1.49 2003/09/11 20:54:11 www Exp $
+# $Id: lonlogin.pm,v 1.50 2003/09/16 18:15:43 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -41,6 +41,7 @@
 use Apache::lonnet();
 use Apache::loncommon();
 use Apache::lonauth();
+use Apache::lonlocal;
 
 sub handler {
     my $r = shift;
@@ -60,6 +61,10 @@
      ($ENV{'QUERY_STRING'}.'&'.$ENV{'request.querystring'},
       ['interface','username','domain','firsturl','localpath','localres']);
  
+# -------------------------------------------------------------------- Language
+
+    &Apache::lonlocal::get_language_handle();
+
 # ----------------------------------------------------------- Process Interface
     $ENV{'form.interface'}=~s/\W//g;