forked from psolom/RichFilemanager
-
Notifications
You must be signed in to change notification settings - Fork 0
Filemanager global configuration
pavel edited this page Mar 16, 2016
·
4 revisions
Default Filemanager configuration file describes all possible options, but some settings should be defined before config file is loaded.
For example, you may want to locate Filemanager folder in some "dynamic" folder. This is useful when "publish" Filemanager folder from some secured location. It is a common action for some server-side frameworks. For this case define _FMConfig
global scope variable before you load plugin scripts.
window._FMConfig = {
pluginPath: "/path/to/filemanager/folder"
};
Note: all global options affect client-side only. Don't forget to setup your server-side connector script likewise.
pluginPath
Default value false. The application will determine base plugin path as web server root directory. Can be overwritten to locale Filemanager folder in a custom location.