Add some notice

This commit is contained in:
slawkens 2020-02-25 20:36:04 +01:00
parent a467b55054
commit ed2f325ce1

View File

@ -43,7 +43,7 @@ else if(isset($_FILES["plugin"]["name"]))
break; break;
case UPLOAD_ERR_INI_SIZE: case UPLOAD_ERR_INI_SIZE:
case UPLOAD_ERR_FORM_SIZE: case UPLOAD_ERR_FORM_SIZE:
$error .= ' - file too large (limit of '.ini_get('upload_max_filesize').' bytes).'; $error .= ' - file too large (limit of '.ini_get('upload_max_filesize').' bytes). You can enlarge the limits by changing "upload_max_filesize" in php.ini';
break; break;
case UPLOAD_ERR_PARTIAL: case UPLOAD_ERR_PARTIAL:
$error .= ' - file upload was not completed.'; $error .= ' - file upload was not completed.';