aboutsummaryrefslogtreecommitdiffstats
path: root/core/configmanager.lua
diff options
context:
space:
mode:
authorJoão Duarte <jvsDuarte08@gmail.com>2019-08-01 09:21:10 -0700
committerJoão Duarte <jvsDuarte08@gmail.com>2019-08-01 09:21:10 -0700
commit2af161560a96cf1b69a9d28ee79388c87a1b7418 (patch)
treecac480cd9539461a1f315c40bf9b0bc4953606d6 /core/configmanager.lua
parent579bcb64d580b2e018f5aa4f647d23cb5b2da5e9 (diff)
downloadprosody-2af161560a96cf1b69a9d28ee79388c87a1b7418.tar.gz
prosody-2af161560a96cf1b69a9d28ee79388c87a1b7418.zip
core.configmanager: Added support to 'complement_lua_path'
Diffstat (limited to 'core/configmanager.lua')
-rw-r--r--core/configmanager.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/configmanager.lua b/core/configmanager.lua
index 090a6a0a..d501b7cf 100644
--- a/core/configmanager.lua
+++ b/core/configmanager.lua
@@ -15,6 +15,7 @@ local envload = require"util.envload".envload;
local deps = require"util.dependencies";
local resolve_relative_path = require"util.paths".resolve_relative_path;
local glob_to_pattern = require"util.paths".glob_to_pattern;
+local complement_lua_path = require"util.paths".complement_lua_path;
local path_sep = package.config:sub(1,1);
local get_traceback_table = require "util.debug".get_traceback_table;
@@ -26,6 +27,7 @@ local _ENV = nil;
-- luacheck: std none
_M.resolve_relative_path = resolve_relative_path; -- COMPAT
+_M.complement_lua_path = complement_lua_path;
local parser = nil;