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 | bf0dc06e0fae47f023e76519efd1dbfe2b177410 (patch) | |
tree | 7ce8cdbc7277224dd54d6cede424405035d7a71c | |
parent | 57e4411584014a9e902d070e3a3944fa824cc6fa (diff) | |
download | prosody-bf0dc06e0fae47f023e76519efd1dbfe2b177410.tar.gz prosody-bf0dc06e0fae47f023e76519efd1dbfe2b177410.zip |
prosody: Add config option plugin_path to allow overriding plugin directories.
-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 }; |