Software /
code /
prosody
Changeset
4172:66a05ee17551
prosody: Add config option plugin_path to allow overriding plugin directories.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Fri, 21 Jan 2011 04:36:31 +0500 |
parents | 4171:b32e6bb12379 |
children | 4173:b68418c8d765 |
files | prosody |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/prosody Fri Jan 21 04:35:49 2011 +0500 +++ b/prosody Fri Jan 21 04:36:31 2011 +0500 @@ -184,6 +184,7 @@ 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 };