Update 010_user_record.lua.noload
This commit is contained in:
parent
6909e2abf3
commit
de5e2213f1
|
|
@ -15,8 +15,11 @@
|
||||||
end
|
end
|
||||||
path = path.."/archive/"..(os.date("%Y")).."/"..(os.date("%b")).."/"..(os.date("%d"));
|
path = path.."/archive/"..(os.date("%Y")).."/"..(os.date("%b")).."/"..(os.date("%d"));
|
||||||
|
|
||||||
--make sure the path exists
|
--add functions
|
||||||
api:executeString("system mkdir -p "..path);
|
require "resources.functions.mkdir";
|
||||||
|
|
||||||
|
--make sure the recordings directory exists
|
||||||
|
mkdir(path);
|
||||||
|
|
||||||
--check whether to record the to user
|
--check whether to record the to user
|
||||||
if (user_exists == "true") then
|
if (user_exists == "true") then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue