mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-20 12:30:56 +01:00
Fix a debugging value value for post_max_size
Although 3200MB is nice, 32MB is plenty.
This commit is contained in:
parent
7482d260b0
commit
8a6acf88e0
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ final class PhabricatorStorageSetupCheck extends PhabricatorSetupCheck {
|
||||||
$post_max_size = ini_get('post_max_size');
|
$post_max_size = ini_get('post_max_size');
|
||||||
if ($post_max_size && ((int)$post_max_size > 0)) {
|
if ($post_max_size && ((int)$post_max_size > 0)) {
|
||||||
$post_max_bytes = phutil_parse_bytes($post_max_size);
|
$post_max_bytes = phutil_parse_bytes($post_max_size);
|
||||||
$post_max_need = (32 * 1024 * 1024) * 100;
|
$post_max_need = (32 * 1024 * 1024);
|
||||||
if ($post_max_need > $post_max_bytes) {
|
if ($post_max_need > $post_max_bytes) {
|
||||||
$summary = pht(
|
$summary = pht(
|
||||||
'Set %s in your PHP configuration to at least 32MB '.
|
'Set %s in your PHP configuration to at least 32MB '.
|
||||||
|
|
Loading…
Reference in a new issue