summaryrefslogtreecommitdiff
path: root/server/main.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/main.lua')
-rw-r--r--server/main.lua6
1 files changed, 1 insertions, 5 deletions
diff --git a/server/main.lua b/server/main.lua
index 754e3759..cc136079 100644
--- a/server/main.lua
+++ b/server/main.lua
@@ -3,11 +3,7 @@ local rootPath = currentPath:gsub('[^/\\]-$', '')
if rootPath == '' then
rootPath = './'
end
-package.cpath = rootPath .. 'bin/?.so'
- .. ';' .. rootPath .. 'bin/?.dll'
-package.path = rootPath .. 'src/?.lua'
- .. ';' .. rootPath .. 'src/?/init.lua'
-
+dofile(rootPath .. 'platform.lua')
local fs = require 'bee.filesystem'
ROOT = fs.absolute(fs.path(rootPath):parent_path())
LANG = LANG or 'en-US'