mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Connect to the database before using this function and it will use the database connection.
This commit is contained in:
@@ -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 = {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user