Software /
code /
prosody
Comparison
main.lua @ 452:613c5c6bdce4
Added option core.data_path
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Fri, 28 Nov 2008 20:17:20 +0500 |
parent | 438:193f9dd64f17 |
comparison
equal
deleted
inserted
replaced
449:c0a4a1e63d70 | 452:613c5c6bdce4 |
---|---|
21 config.set("*", "core", "modules_enabled", _G.config.modules); | 21 config.set("*", "core", "modules_enabled", _G.config.modules); |
22 config.set("*", "core", "ssl", _G.config.ssl_ctx); | 22 config.set("*", "core", "ssl", _G.config.ssl_ctx); |
23 end | 23 end |
24 end | 24 end |
25 end | 25 end |
26 | |
27 require "util.datamanager".set_data_path(config.get("*", "core", "data_path") or "data"); | |
26 | 28 |
27 local server = require "net.server" | 29 local server = require "net.server" |
28 | 30 |
29 require "util.dependencies" | 31 require "util.dependencies" |
30 | 32 |