mirror of https://github.com/midoks/mdserver-web
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
371 B
11 lines
371 B
local waf_root = "{$WAF_ROOT}"
|
|
local waf_cpath = waf_root.."/waf/lua/?.lua;"..waf_root.."/waf/conf/?.lua;"..waf_root.."/waf/html/?.lua;"
|
|
local waf_sopath = waf_root.."/waf/conf/?.so;"
|
|
|
|
if not package.path:find(waf_cpath) then
|
|
package.path = waf_cpath .. package.path
|
|
end
|
|
|
|
if not package.cpath:find(waf_sopath) then
|
|
package.cpath = waf_sopath .. package.cpath
|
|
end |