simogeo / Filemanager

An open-source file manager released under MIT license. Up-to-date for PHP connector. This package is DEPRECATED. Now, please use RichFileManager available at : https://github.com/servocoder/RichFilemanager.
938 stars 350 forks source link

Why no double underscores in file names? #540

Closed robsch closed 6 years ago

robsch commented 6 years ago

I have found that cleanString() removes multiple underscores. Is there a special reason for this? Can I just drop this line (and in PHP the corresponding line in filemanager.class.php) if I want to allow muliple underscores? Or does that cause any problems?

simogeo commented 6 years ago

It should not cause any trouble. You're free to remove pattern in cleanstrint() methods - both php and js files

simogeo commented 6 years ago

BY the way, see also : https://github.com/servocoder/RichFilemanager

robsch commented 6 years ago

Thanks!

Of course I know already the RichFilemanager. Will switch to it asap.