Skip to content

Commit

Permalink
Merge pull request #24934 from nextcloud/max_file_uploads
Browse files Browse the repository at this point in the history
Remove useless ini_set calls
  • Loading branch information
rullzer authored Jan 7, 2021
2 parents 9b25083 + bc1b5d7 commit 4f52e83
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/base.php
Original file line number Diff line number Diff line change
Expand Up @@ -620,11 +620,6 @@ public static function init() {
@ini_set('max_execution_time', '3600');
@ini_set('max_input_time', '3600');

//try to set the maximum filesize to 10G
@ini_set('upload_max_filesize', '10G');
@ini_set('post_max_size', '10G');
@ini_set('file_uploads', '50');

self::setRequiredIniValues();
self::handleAuthHeaders();
self::registerAutoloaderCache();
Expand Down

0 comments on commit 4f52e83

Please sign in to comment.