I am using Responsive FileManager extensively as a standalone (not part of a general text editor). I sometimes call it multiple times on one page. However, each time I want it to be restricted to a certain folder—not merely so it defaults to a folder, but so the user can't navigate to any other folders at all.
The only way I have found to restrict a folder in Responsive FileManager is by setting the PHP sesssion variable:
$_SESSION['RF']['subfolder']
However, this is a problem for different folders that need to be there on the same page, and in general it's impractical because the restriction should be specific to the file manager call, not user-specific like a session. Also, I don't need it to be absolutely impossible to navigate to other folders in a secure way, it's OK if someone who knows how to use the browser debugger navigates somewhere else. I merely want to prevent casual users from doing this.
Is there any way to do this with a JS config option, or some other per-call and not per-user way?
Their feature list says:
You can set a subfolder as the root and change the configuration for each user, page or FileManager call.
But I was not able to find a per-call folder restriction in their docs.