Add the database dbh connection to recordings.lua.
This commit is contained in:
parent
aebdfbf062
commit
c1976beb4a
|
|
@ -38,6 +38,10 @@
|
||||||
dofile(scripts_dir.."/resources/functions/config.lua");
|
dofile(scripts_dir.."/resources/functions/config.lua");
|
||||||
dofile(config());
|
dofile(config());
|
||||||
|
|
||||||
|
--connect to the database
|
||||||
|
dofile(scripts_dir.."/resources/functions/database_handle.lua");
|
||||||
|
dbh = database_handle('system');
|
||||||
|
|
||||||
--get the domain_uuid
|
--get the domain_uuid
|
||||||
domain_uuid = session:getVariable("domain_uuid");
|
domain_uuid = session:getVariable("domain_uuid");
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue