Fix limite
This commit is contained in:
parent
13300e88eb
commit
2579696d01
|
@ -67,15 +67,15 @@ if (setting('Attiva aggiornamenti')) {
|
||||||
|
|
||||||
$upload_max_filesize = ini_get('upload_max_filesize');
|
$upload_max_filesize = ini_get('upload_max_filesize');
|
||||||
$upload_max_filesize = str_replace(['k', 'M'], ['000', '000000'], $upload_max_filesize);
|
$upload_max_filesize = str_replace(['k', 'M'], ['000', '000000'], $upload_max_filesize);
|
||||||
// Dimensione minima: 16MB
|
// Dimensione minima: 32MB
|
||||||
if ($upload_max_filesize < 16000000) {
|
if ($upload_max_filesize < 32000000) {
|
||||||
$alerts['upload_max_filesize'] = '32MB';
|
$alerts['upload_max_filesize'] = '32MB';
|
||||||
}
|
}
|
||||||
|
|
||||||
$post_max_size = ini_get('post_max_size');
|
$post_max_size = ini_get('post_max_size');
|
||||||
$post_max_size = str_replace(['k', 'M'], ['000', '000000'], $post_max_size);
|
$post_max_size = str_replace(['k', 'M'], ['000', '000000'], $post_max_size);
|
||||||
// Dimensione minima: 16MB
|
// Dimensione minima: 32MB
|
||||||
if ($post_max_size < 16000000) {
|
if ($post_max_size < 32000000) {
|
||||||
$alerts['post_max_size'] = '32MB';
|
$alerts['post_max_size'] = '32MB';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue