mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Improve security on the lua scripts, add lua json library, add *77 dnd toggle feature code, speed dial *0[ext], and improve blf support for extension number alias.
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
require "resources.functions.file_exists";
|
||||
require "resources.functions.mkdir";
|
||||
|
||||
require "resources.functions.database_handle";
|
||||
local Database = require "resources.functions.database";
|
||||
|
||||
local log = require "resources.functions.log".call_flow_monitor
|
||||
|
||||
@@ -78,7 +78,7 @@
|
||||
end
|
||||
|
||||
--connect to the database
|
||||
local dbh = database_handle('system');
|
||||
local dbh = Database.new('system');
|
||||
|
||||
--get the extension list
|
||||
if dbh:connected() then
|
||||
|
||||
Reference in New Issue
Block a user