aboutsummaryrefslogtreecommitdiffstats
path: root/util/datamanager.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2011-01-07 11:59:05 +0000
committerMatthew Wild <mwild1@gmail.com>2011-01-07 11:59:05 +0000
commit4fac07320796a04ea2596f7c0ceaabaa608bd532 (patch)
treeabd3446bd90c35e108a9336c9865f85d34eac4f5 /util/datamanager.lua
parent79bcb5c7cfed2a2ea89d2bac48bacb9e9447d599 (diff)
parent1453a1753f69dbfd122436fca77888328058046b (diff)
downloadprosody-4fac07320796a04ea2596f7c0ceaabaa608bd532.tar.gz
prosody-4fac07320796a04ea2596f7c0ceaabaa608bd532.zip
Merge 0.8->trunk
Diffstat (limited to 'util/datamanager.lua')
-rw-r--r--util/datamanager.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/datamanager.lua b/util/datamanager.lua
index fbdfb581..5aee289d 100644
--- a/util/datamanager.lua
+++ b/util/datamanager.lua
@@ -22,6 +22,7 @@ local t_insert = table.insert;
local append = require "util.serialization".append;
local path_separator = "/"; if os.getenv("WINDIR") then path_separator = "\\" end
local lfs = require "lfs";
+local prosody = prosody;
local raw_mkdir;
if prosody.platform == "posix" then
@@ -56,7 +57,7 @@ local function mkdir(path)
return path;
end
-local data_path = "data";
+local data_path = prosody.paths.data;
local callbacks = {};
------- API -------------