244431500 I have tested, and you can use your regex, or something like the below ...
'dirs_exclude' => '/(\/|^)(\#recycle|@eaDir|\._DAV)(\/|$)/',
This doesn't work for you? It works fine here.
About your second screenshot, that is just the debugging tool that is mistakingly outputting escaped backslashes. As long as it doesn't look like that in your config.php
file, it can be ignored.
Where are you saving from? Are you sure the app or editor you are using isn't adding slashes?
244431500 二、我想添加2个目录可以实现吗?我有两个目录(test1、test2)想访问,但是两个目录不在同一个目录下(../public/test1;../share/test2),而我又不想将index放到Linux根目录下,
Why not use symlinks? You can create a virtual symlink inside the root dir that points to a folder that is somewhere else on the server. There is an example of this in our demo:
https://demo.files.gallery/?tests/symlinks