[LON-CAPA-cvs] cvs: loncom /homework lonhomework.pm

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 15 Nov 2005 18:23:17 -0000


albertel		Tue Nov 15 13:23:17 2005 EDT

  Modified files:              
    /loncom/homework	lonhomework.pm 
  Log:
  - safer than doing alot of Apache2::RequestUtil calls
  
  
Index: loncom/homework/lonhomework.pm
diff -u loncom/homework/lonhomework.pm:1.222 loncom/homework/lonhomework.pm:1.223
--- loncom/homework/lonhomework.pm:1.222	Thu Nov 10 15:43:00 2005
+++ loncom/homework/lonhomework.pm	Tue Nov 15 13:23:17 2005
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Homework handler
 #
-# $Id: lonhomework.pm,v 1.222 2005/11/10 20:43:00 albertel Exp $
+# $Id: lonhomework.pm,v 1.223 2005/11/15 18:23:17 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -919,7 +919,7 @@
 sub handler {
     #my $t0 = [&gettimeofday()];
     my $request=$_[0];
-    
+    $Apache::lonxml::request=$request;
     $Apache::lonxml::debug=$env{'user.debug'};
     $env{'request.uri'}=$request->uri;
     &setuppermissions();