util/datamanager.lua

changeset 732
0343739f3d71
parent 706
ce772e283992
child 758
b1885732e979
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";

mercurial