Software /
code /
prosody
Comparison
util/datamanager.lua @ 574:5963b780775d
Datamanager logs data_path
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 06 Dec 2008 19:46:58 +0000 |
parent | 550:56bdfae9e4ea |
child | 615:4ae3e81513f3 |
comparison
equal
deleted
inserted
replaced
573:f6555ebf84ec | 574:5963b780775d |
---|---|
50 | 50 |
51 ------- API ------------- | 51 ------- API ------------- |
52 | 52 |
53 local data_path = "data"; | 53 local data_path = "data"; |
54 function set_data_path(path) | 54 function set_data_path(path) |
55 log("info", "Setting data path to %s", path); | |
55 data_path = path; | 56 data_path = path; |
56 end | 57 end |
57 | 58 |
58 function getpath(username, host, datastore, ext) | 59 function getpath(username, host, datastore, ext) |
59 ext = ext or "dat"; | 60 ext = ext or "dat"; |