Connect to the database before using this function and it will use the database connection.
This commit is contained in:
parent
8fad7af1b3
commit
b17c8061c8
|
|
@ -46,14 +46,6 @@
|
|||
--define select_entry function
|
||||
function settings(domain_uuid)
|
||||
|
||||
--include config.lua
|
||||
dofile(scripts_dir.."/resources/functions/config.lua");
|
||||
dofile(config());
|
||||
|
||||
--connect to the database
|
||||
dofile(scripts_dir.."/resources/functions/database_handle.lua");
|
||||
dbh = database_handle('system');
|
||||
|
||||
--define the table
|
||||
array = {}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue