mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
set dbh if there isn't a global dbh set (#6489)
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
|
||||
--define the trim function
|
||||
require "resources.functions.trim";
|
||||
local Database = require "resources.functions.database";
|
||||
local dbh = dbh or Database.new("system");
|
||||
|
||||
--include json library
|
||||
local json
|
||||
|
||||
Reference in New Issue
Block a user