diff options
author | Matthew Wild <mwild1@gmail.com> | 2011-01-11 04:22:45 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2011-01-11 04:22:45 +0000 |
commit | da14cbf95f70cba5770251871971197bde6fde79 (patch) | |
tree | 9ed8c553764629818d3e6b3fa67df20ee087804a /util | |
parent | 59f7814f5fdf47d1a7dd673043cbc076b0484f66 (diff) | |
parent | 16e8102a4e0ee8528925952f9b60ef87a4f8aa00 (diff) | |
download | prosody-da14cbf95f70cba5770251871971197bde6fde79.tar.gz prosody-da14cbf95f70cba5770251871971197bde6fde79.zip |
Merge 0.8->trunk
Diffstat (limited to 'util')
-rw-r--r-- | util/datamanager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/datamanager.lua b/util/datamanager.lua index 5aee289d..2be3acfd 100644 --- a/util/datamanager.lua +++ b/util/datamanager.lua @@ -57,7 +57,7 @@ local function mkdir(path) return path; end -local data_path = prosody.paths.data; +local data_path = (prosody and prosody.paths and prosody.paths.data) or "."; local callbacks = {}; ------- API ------------- |