From 99bd865b81b27fb681e78d989d5a12f75021421d Mon Sep 17 00:00:00 2001 From: Carlos Ferreira Date: Sat, 2 Jan 2021 19:43:48 +0100 Subject: [PATCH] Remove useless ini_set functions --- lib/base.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/base.php b/lib/base.php index a3eada86c8a0a..82a9c28c35e02 100644 --- a/lib/base.php +++ b/lib/base.php @@ -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', 'On'); - self::setRequiredIniValues(); self::handleAuthHeaders(); self::registerAutoloaderCache();