ldap-auth-request/contrib/uwsgi.lua

8 lines
378 B
Lua

local _VERSION, package, require = _VERSION, package, require
local version = _VERSION:match("%d+%.%d+")
package.path = "src/?.lua;src/?/init.lua;lua_modules/share/lua/" .. version .. "/?.lua;lua_modules/share/lua/" .. version .. "/?/init.lua;" .. package.path
package.cpath = "lua_modules/lib/lua/" .. version .. "/?.so;" .. package.cpath
return require("ldap-auth-request")