Software /
code /
prosody
Changeset
4122:2e4bc196fd2a
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 | 4121:ea7e3f22f898 |
children | 4126:5044698a9d90 |
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 };