mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
fixing example
This commit is contained in:
parent
c3544fdbea
commit
7db7140a70
@ -110,7 +110,8 @@ This example will save all uploads in the `/assets/customfolder/` folder. If the
|
|||||||
'Root.Upload',
|
'Root.Upload',
|
||||||
$uploadField = new UploadField(
|
$uploadField = new UploadField(
|
||||||
$name = 'GalleryImages',
|
$name = 'GalleryImages',
|
||||||
$title = 'Please upload one or more images' )
|
$title = 'Please upload one or more images'
|
||||||
|
)
|
||||||
);
|
);
|
||||||
$uploadField->setFolderName('customfolder');
|
$uploadField->setFolderName('customfolder');
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user