-
Notifications
You must be signed in to change notification settings - Fork 0
Filemanager global configuration
Default Filemanager configuration file describes all possible options, but some settings should be defined before configuration file is loaded.
For example, you can use server-side framework which performs "publishing" of Filemanager folder from secured location to some "dynamic" folder. In this case you should define _FMConfig
global scope variable and set pluginPath
option before you load plugin scripts.
Check http://stackoverflow.com/questions/2188218/relative-paths-in-javascript-in-an-external-file to get detailed information.
window._FMConfig = {
pluginPath: "/path/to/filemanager/folder"
};
Note: all global options affect client-side only. Don't forget to setup the configuration file of your server-side connector likewise. For PHP connector check /connectors/php/filemanager.config.php file.
pluginPath
Default value false. Defined as a relative path to the displayed page by default. Can be overwritten to locale Filemanager folder in a custom location. Appropriate server-side configuration option is fmUrl
.