Software /
code /
prosody
Comparison
util/datamanager.lua @ 732:0343739f3d71
util.datamanager: Small fix for clearer logging of data path
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 16 Jan 2009 05:37:17 +0000 |
parent | 706:ce772e283992 |
child | 758:b1885732e979 |
comparison
equal
deleted
inserted
replaced
731:c29cf3ffa3fc | 732:0343739f3d71 |
---|---|
63 local data_path = "data"; | 63 local data_path = "data"; |
64 | 64 |
65 ------- API ------------- | 65 ------- API ------------- |
66 | 66 |
67 function set_data_path(path) | 67 function set_data_path(path) |
68 log("info", "Setting data path to %s", path); | 68 log("info", "Setting data path to: %s", path); |
69 data_path = path; | 69 data_path = path; |
70 end | 70 end |
71 | 71 |
72 function getpath(username, host, datastore, ext, create) | 72 function getpath(username, host, datastore, ext, create) |
73 ext = ext or "dat"; | 73 ext = ext or "dat"; |