From 99856d0436c716b3415725538c2bf48075478f30 Mon Sep 17 00:00:00 2001 From: Thomas Hackl <hackl@data-quest.de> Date: Tue, 9 May 2023 16:06:05 +0200 Subject: [PATCH] adjust upload sizes, fixes #2623 --- config/config.inc.php.dist | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/config/config.inc.php.dist b/config/config.inc.php.dist index f0d5b274299..d7a0f83df5c 100644 --- a/config/config.inc.php.dist +++ b/config/config.inc.php.dist @@ -110,12 +110,12 @@ $SEM_TREE_TYPES[0] = array("name" => "", "editable" => true); //default type, mu $UPLOAD_TYPES=array( "default" => array( "type"=>"allow", "file_types" => array ("exe"), - "file_sizes" => array ( "root" => 7 * 1048576, - "admin" => 7 * 1048576, - "dozent" => 7 * 1048576, - "tutor" => 7 * 1048576, - "autor" => 7 * 1048576, - "nobody" => 1.38 * 1048576 + "file_sizes" => array ( "root" => 250 * 1048576, + "admin" => 250 * 1048576, + "dozent" => 100 * 1048576, + "tutor" => 50 * 1048576, + "autor" => 50 * 1048576, + "nobody" => 1 * 1048576 ) ), // rules for futher course-types can be added below (please adhere exactly to the structure given above) @@ -152,11 +152,11 @@ $UPLOAD_TYPES["attachments"] = $UPLOAD_TYPES["personalfiles"] = array( "type" => "allow", "file_types" => array ("exe"), - "file_sizes" => array ( "root" => 7 * 1048576, - "admin" => 7 * 1048576, - "tutor" => 7 * 1048576, - "dozent" => 7 * 1048576, - "autor" => 7 * 1048576, + "file_sizes" => array ( "root" => 250 * 1048576, + "admin" => 250 * 1048576, + "dozent" => 100 * 1048576, + "tutor" => 50 * 1048576, + "autor" => 50 * 1048576, "nobody" => 0 ) ); -- GitLab