diff options
author | Waqas Hussain <waqas20@gmail.com> | 2011-01-21 04:36:31 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2011-01-21 04:36:31 +0500 |
commit | c6d7c5abfd104bdccf535c312ba7c4eb12679de4 (patch) | |
tree | 73b66c47555c79aa260aa759ce2b825b130d6d85 /prosody | |
parent | 799df428912e77c1f8dbff97620666b1c22dfe83 (diff) | |
download | prosody-c6d7c5abfd104bdccf535c312ba7c4eb12679de4.tar.gz prosody-c6d7c5abfd104bdccf535c312ba7c4eb12679de4.zip |
prosody: Add config option plugin_path to allow overriding plugin directories.
Diffstat (limited to 'prosody')
-rwxr-xr-x | prosody | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -184,6 +184,7 @@ function init_global_state() prosody.hosts = hosts; local data_path = config.get("*", "core", "data_path") or CFG_DATADIR or "data"; + CFG_PLUGINDIR = config.get("*", "core", "plugin_path") or CFG_PLUGINDIR or "plugins" prosody.paths = { source = CFG_SOURCEDIR, config = CFG_CONFIGDIR, plugins = CFG_PLUGINDIR, data = data_path }; |