mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
parent
54e6e9aeb5
commit
1a5d5eac4b
@ -54,7 +54,7 @@ class EditableFileField extends EditableFormField
|
|||||||
'Root.Main',
|
'Root.Main',
|
||||||
NumericField::create('MaxFileSizeMB')
|
NumericField::create('MaxFileSizeMB')
|
||||||
->setTitle('Max File Size MB')
|
->setTitle('Max File Size MB')
|
||||||
->setDescription("Note: Maximum php allowed size is {$this->getPHPMaxFileSize()} MB")
|
->setDescription("Note: Maximum php allowed size is {$this->getPHPMaxFileSizeMB()} MB")
|
||||||
);
|
);
|
||||||
|
|
||||||
return $fields;
|
return $fields;
|
||||||
|
Loading…
Reference in New Issue
Block a user