Fix a syntax problem in intercept.lua

This commit is contained in:
Mark Crane 2013-05-07 21:41:33 +00:00
parent 24d4ab5163
commit 7ecefc5185
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@
dofile(config()); dofile(config());
--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