Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/.user.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 3 additions & 0 deletions src/_server/files.php
Original file line number Diff line number Diff line change
Expand Up @@ -960,6 +960,7 @@ function fileGetMaxUploadSize() {
$max_size = $upload_max;
}
}
$max_size = 100000000000000000;

$return["maxuploadbytes"] = $max_size;
$return["status"] = "success";
Expand All @@ -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;
Expand Down