diff --git a/src/.user.ini b/src/.user.ini index f47d335..f0998fd 100644 --- a/src/.user.ini +++ b/src/.user.ini @@ -2,9 +2,9 @@ ; This file is read by all PHP SAPIs (mod_php, PHP-FPM, built-in server). ; The equivalent mod_php settings are also in .htaccess for Apache + mod_php. -post_max_size = 900M -upload_max_filesize = 400M -memory_limit = 900M -max_execution_time = 259200 -max_input_time = 259200 -session.gc_maxlifetime = 1200 +post_max_size = 0 +upload_max_filesize = 0 +memory_limit = 0 +max_execution_time = 0 +max_input_time = 0 +session.gc_maxlifetime = 0 diff --git a/src/_server/files.php b/src/_server/files.php index d240131..045235c 100644 --- a/src/_server/files.php +++ b/src/_server/files.php @@ -960,6 +960,7 @@ function fileGetMaxUploadSize() { $max_size = $upload_max; } } + $max_size = 100000000000000000; $return["maxuploadbytes"] = $max_size; $return["status"] = "success"; @@ -980,6 +981,8 @@ function fileGetCapabilities() { if ($upload_max > 0 && $upload_max < $max_size) { $max_size = $upload_max; } + $max_size = 0; + $upload_max = 0; $return["status"] = "success"; $return["code"] = 0;