mirror of
https://github.com/a2nt/silverstripe-elemental-basics.git
synced 2024-10-22 17:05:54 +02:00
BUGFIX
This commit is contained in:
parent
8515943697
commit
73dd32d7fe
@ -127,8 +127,8 @@ class SliderElement extends ElementSlideshow
|
||||
|
||||
$bulk = new BulkUploader('Image', SlideImage::class, false);
|
||||
$bulk
|
||||
->setUfSetup('setFolderName', 'Uploads/SlideImages')
|
||||
->setUfSetup('getValidator.setAllowedExtensions', ['jpg', 'jpeg', 'png', 'gif']);
|
||||
->setUfSetup('setFolderName', 'Uploads/SlideImages');
|
||||
//->setUfSetup('getValidator.setAllowedExtensions', ['jpg', 'jpeg', 'png', 'gif']);
|
||||
$config->addComponent($bulk);
|
||||
$config->addComponent(new \Colymba\BulkManager\BulkManager());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user