helios-ag / FMElfinderBundle

:file_folder: ElFinderBundle provides ElFinder integration with TinyMCE, CKEditor, Summernote editors
MIT License
275 stars 128 forks source link

Improved error message for custom adapter service. #448

Closed Ahummeling closed 2 years ago

Ahummeling commented 2 years ago

Rewrite the flow for the instantiation of a filesystem usinga custom adapter in such a way that it is possible to include a custom driver. As well as fixing a notice: undefined variable by declaring $filesystem = null; As well as throwing an exception when a custom adapter was unable to instantiate an instance of Filesystem

helios-ag commented 2 years ago

Thanks for PR, also instead of generic exception, would be nice to introduce custom one.