[LON-CAPA-cvs] cvs: loncom /auth lonacc.pm
www
lon-capa-cvs@mail.lon-capa.org
Sat, 15 Jun 2002 19:20:14 -0000
www Sat Jun 15 15:20:14 2002 EDT
Modified files:
/loncom/auth lonacc.pm
Log:
Add copyright to request environment (toward bug 488)
Index: loncom/auth/lonacc.pm
diff -u loncom/auth/lonacc.pm:1.31 loncom/auth/lonacc.pm:1.32
--- loncom/auth/lonacc.pm:1.31 Tue May 7 14:49:33 2002
+++ loncom/auth/lonacc.pm Sat Jun 15 15:20:14 2002
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Cookie Based Access Handler
#
-# $Id: lonacc.pm,v 1.31 2002/05/07 18:49:33 www Exp $
+# $Id: lonacc.pm,v 1.32 2002/06/15 19:20:14 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -82,6 +82,9 @@
$ENV{'request.state'} = 'unknown';
}
$ENV{'request.filename'} = $r->filename;
+
+ $ENV{'request.copyright'} =
+ &Apache::lonnet::metadata($requrl,'copyright');
# -------------------------------------------------------- Load POST parameters