mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-02-22 02:46:30 +00:00
Update the method to connect to the database with lua.
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
--connect to the database
|
||||
--dbh = freeswitch.Dbh("core:core"); -- when using sqlite
|
||||
dbh = freeswitch.Dbh("sqlite://"..database_dir.."/park.db");
|
||||
--dbh = freeswitch.Dbh(database["system"]);
|
||||
--dofile(scripts_dir.."/resources/functions/database_handle.lua");
|
||||
|
||||
--get the argv values
|
||||
script_name = argv[0];
|
||||
|
||||
Reference in New Issue
Block a user