aboutsummaryrefslogtreecommitdiffstats
path: root/main.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2008-11-28 20:17:20 +0500
committerWaqas Hussain <waqas20@gmail.com>2008-11-28 20:17:20 +0500
commit47761d875a1db3f3f7415e0f137b3b0287c640e2 (patch)
tree01891ee458f65ebe21f5daa1afa446028bdb10d7 /main.lua
parent631e249397fd7cd2a2c5a7cb4c1feba664a41b2e (diff)
downloadprosody-47761d875a1db3f3f7415e0f137b3b0287c640e2.tar.gz
prosody-47761d875a1db3f3f7415e0f137b3b0287c640e2.zip
Added option core.data_path
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.lua b/main.lua
index 3ea97ca4..7e41012c 100644
--- a/main.lua
+++ b/main.lua
@@ -24,6 +24,8 @@ do
end
end
+require "util.datamanager".set_data_path(config.get("*", "core", "data_path") or "data");
+
local server = require "net.server"
require "util.dependencies"