mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #4826 from spekulatius/patch-1
DOCS fixing UploadField example
This commit is contained in:
commit
9dabf15faa
@ -110,7 +110,8 @@ This example will save all uploads in the `/assets/customfolder/` folder. If the
|
||||
'Root.Upload',
|
||||
$uploadField = new UploadField(
|
||||
$name = 'GalleryImages',
|
||||
$title = 'Please upload one or more images' )
|
||||
$title = 'Please upload one or more images'
|
||||
)
|
||||
);
|
||||
$uploadField->setFolderName('customfolder');
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user