forked from github/server
bef560d92a
Fix a bug in the new get_arg function.
15 lines
329 B
Lua
15 lines
329 B
Lua
local srcpath = config.source_dir
|
|
local respath = srcpath .. '/res'
|
|
local paths = {
|
|
'scripts/?.lua',
|
|
'core/scripts/?.lua',
|
|
'lunit/?.lua'
|
|
}
|
|
|
|
for idx, path in pairs(paths) do
|
|
package.path = srcpath .. '/' .. path .. ';' .. package.path
|
|
end
|
|
|
|
read_xml(respath..'/config-e3a.xml', respath..'/catalog-e3a.xml')
|
|
|
|
require "init"
|