# HG changeset patch # User Waqas Hussain # Date 1295566591 -18000 # Node ID 2e4bc196fd2a4c510cd5f55a37d25b99202efaf2 # Parent ea7e3f22f8981b8ad0897a96fc3cad9601effd19 prosody: Add config option plugin_path to allow overriding plugin directories. diff -r ea7e3f22f898 -r 2e4bc196fd2a prosody --- 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 };