diff --git a/src/MadeYourDay/Contao/Slider.php b/src/MadeYourDay/Contao/Slider.php index f832103..7836070 100644 --- a/src/MadeYourDay/Contao/Slider.php +++ b/src/MadeYourDay/Contao/Slider.php @@ -329,8 +329,7 @@ public function moduleOnloadCallback($dc) if ($module->type === 'rocksolid_slider') { $GLOBALS['TL_DCA'][$dc->table]['fields']['multiSRC']['eval']['isGallery'] = true; - $GLOBALS['TL_DCA'][$dc->table]['fields']['multiSRC']['eval']['filesOnly'] = true; - $GLOBALS['TL_DCA'][$dc->table]['fields']['multiSRC']['eval']['extensions'] = $GLOBALS['TL_CONFIG']['validImageTypes']; + $GLOBALS['TL_DCA'][$dc->table]['fields']['multiSRC']['eval']['extensions'] = \Config::get('validImageTypes'); } }