Author: solomax
Date: Tue May 15 06:27:09 2012
New Revision: 1338553
URL: http://svn.apache.org/viewvc?rev=1338553&view=rev
Log:
max_upload_size configuration was misspelled
Modified:
incubator/openmeetings/trunk/singlewebapp/src/org/openmeetings/utils/ImportHelper.java
Modified:
incubator/openmeetings/trunk/singlewebapp/src/org/openmeetings/utils/ImportHelper.java
URL:
http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/src/org/openmeetings/utils/ImportHelper.java?rev=1338553&r1=1338552&r2=1338553&view=diff
==============================================================================
---
incubator/openmeetings/trunk/singlewebapp/src/org/openmeetings/utils/ImportHelper.java
(original)
+++
incubator/openmeetings/trunk/singlewebapp/src/org/openmeetings/utils/ImportHelper.java
Tue May 15 06:27:09 2012
@@ -36,7 +36,7 @@ public class ImportHelper {
public static final int getMaxUploadSize(
Configurationmanagement cfgManagement) {
int result = DEFAULT_MAX_UPLOAD_SIZE;
- String maxSize =
cfgManagement.getConfValue("DEFAULT_MAX_UPLOAD_SIZE", String.class, "" +
result);
+ String maxSize = cfgManagement.getConfValue("max_upload_size",
String.class, "" + result);
try {
result = (int) Math.min(Long.parseLong(maxSize),
Integer.MAX_VALUE);
} catch (Exception e) {