From d749d82cbeb0e762b1634abcef79ec3a29274f2d Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Fri, 21 Jan 2011 04:36:31 +0500 Subject: [PATCH] prosody: Add config option plugin_path to allow overriding plugin directories. --- prosody | 1 + 1 file changed, 1 insertion(+) diff --git a/prosody b/prosody index 8dcb0096..48977c30 100755 --- a/prosody +++ b/prosody @@ -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 }; -- 2.30.2