Skip to content
Snippets Groups Projects
Commit 99856d04 authored by Thomas Hackl's avatar Thomas Hackl
Browse files

adjust upload sizes, fixes #2623

parent 635365c9
No related branches found
No related tags found
No related merge requests found
...@@ -110,12 +110,12 @@ $SEM_TREE_TYPES[0] = array("name" => "", "editable" => true); //default type, mu ...@@ -110,12 +110,12 @@ $SEM_TREE_TYPES[0] = array("name" => "", "editable" => true); //default type, mu
$UPLOAD_TYPES=array( "default" => $UPLOAD_TYPES=array( "default" =>
array( "type"=>"allow", array( "type"=>"allow",
"file_types" => array ("exe"), "file_types" => array ("exe"),
"file_sizes" => array ( "root" => 7 * 1048576, "file_sizes" => array ( "root" => 250 * 1048576,
"admin" => 7 * 1048576, "admin" => 250 * 1048576,
"dozent" => 7 * 1048576, "dozent" => 100 * 1048576,
"tutor" => 7 * 1048576, "tutor" => 50 * 1048576,
"autor" => 7 * 1048576, "autor" => 50 * 1048576,
"nobody" => 1.38 * 1048576 "nobody" => 1 * 1048576
) )
), ),
// rules for futher course-types can be added below (please adhere exactly to the structure given above) // rules for futher course-types can be added below (please adhere exactly to the structure given above)
...@@ -152,11 +152,11 @@ $UPLOAD_TYPES["attachments"] = ...@@ -152,11 +152,11 @@ $UPLOAD_TYPES["attachments"] =
$UPLOAD_TYPES["personalfiles"] = $UPLOAD_TYPES["personalfiles"] =
array( "type" => "allow", array( "type" => "allow",
"file_types" => array ("exe"), "file_types" => array ("exe"),
"file_sizes" => array ( "root" => 7 * 1048576, "file_sizes" => array ( "root" => 250 * 1048576,
"admin" => 7 * 1048576, "admin" => 250 * 1048576,
"tutor" => 7 * 1048576, "dozent" => 100 * 1048576,
"dozent" => 7 * 1048576, "tutor" => 50 * 1048576,
"autor" => 7 * 1048576, "autor" => 50 * 1048576,
"nobody" => 0 "nobody" => 0
) )
); );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment