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

raeburn raeburn@source.lon-capa.org
Wed, 10 Dec 2008 16:28:03 -0000


raeburn		Wed Dec 10 16:28:03 2008 EDT

  Modified files:              
    /loncom/auth	lonacc.pm 
  Log:
  - Default maximum file size set to 10 MB for files uploaded to essayresponse items.
  
  
Index: loncom/auth/lonacc.pm
diff -u loncom/auth/lonacc.pm:1.122 loncom/auth/lonacc.pm:1.123
--- loncom/auth/lonacc.pm:1.122	Sat Nov 29 10:34:30 2008
+++ loncom/auth/lonacc.pm	Wed Dec 10 16:28:03 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Cookie Based Access Handler
 #
-# $Id: lonacc.pm,v 1.122 2008/11/29 10:34:30 raeburn Exp $
+# $Id: lonacc.pm,v 1.123 2008/12/10 16:28:03 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -242,7 +242,7 @@
         &Apache::loncommon::add_to_env("form.$item",$savesize);
         my $maxsize= &Apache::lonnet::EXT("resource.$ident.maxfilesize");
         if (!$maxsize) {
-            $maxsize = 100.0;
+            $maxsize = 10.0; # FIXME This should become a domain configuration.
         }
         if ($size > $maxsize) {
             my $warn = 'HWFILETOOBIG'.$ident;