set dbh if there isn't a global dbh set (#6489)
This commit is contained in:
parent
b88c79938b
commit
d9e43cda4c
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue