Files
Studio-42-elFinder/php/plugins
Yves-K 1eeab401f2 [php:plugin:sanitizer] add on option callBack (#2432)
* Allow call back function or method on sanitizeFileName

sanitizeFileName is great but we can't do everytging with arrays or regular expressions...

I propose to add a callBack param on plugin config so we can use a function (or method) to fine tune the filename.

Tested on multiple production sites with success

* [php:plugin:sanitizer] pass $opts to the callBack function
2018-03-22 12:13:15 +09:00
..