Add a missing ). This fixes a problem with eavesdrop.lua reported at http://code.google.com/p/fusionpbx/issues/detail?id=426
This commit is contained in:
@@ -36,7 +36,7 @@ extension = argv[1];
|
|||||||
dofile(scripts_dir.."/resources/functions/file_exists.lua");
|
dofile(scripts_dir.."/resources/functions/file_exists.lua");
|
||||||
|
|
||||||
--connect to the database
|
--connect to the database
|
||||||
if (file_exists(database_dir.."/core.db") then
|
if (file_exists(database_dir.."/core.db")) then
|
||||||
--dbh = freeswitch.Dbh("core:core"); -- when using sqlite
|
--dbh = freeswitch.Dbh("core:core"); -- when using sqlite
|
||||||
dbh = freeswitch.Dbh("sqlite://"..database_dir.."/core.db");
|
dbh = freeswitch.Dbh("sqlite://"..database_dir.."/core.db");
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user