diff options
author | Waqas Hussain <waqas20@gmail.com> | 2011-11-02 00:00:42 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2011-11-02 00:00:42 +0500 |
commit | 6dd8ff0d00e3b5079e374afd0e36314a8e1f75d8 (patch) | |
tree | d56c41c38fb84a85a38382c0345c25403483f58f | |
parent | 3071cfca0952cc4d310ef02058d07dd8b1210c56 (diff) | |
download | prosody-6dd8ff0d00e3b5079e374afd0e36314a8e1f75d8.tar.gz prosody-6dd8ff0d00e3b5079e374afd0e36314a8e1f75d8.zip |
prosody: Ensure prosody.paths.config is never nil (certmanager.create_context fails otherwise).
-rwxr-xr-x | prosody | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -203,7 +203,7 @@ function init_global_state() -- path1;path2;path3;defaultpath... CFG_PLUGINDIR = table.concat(custom_plugin_paths, path_sep)..path_sep..(CFG_PLUGINDIR or "plugins"); end - prosody.paths = { source = CFG_SOURCEDIR, config = CFG_CONFIGDIR, + prosody.paths = { source = CFG_SOURCEDIR, config = CFG_CONFIGDIR or ".", plugins = CFG_PLUGINDIR or "plugins", data = data_path }; prosody.arg = _G.arg; |