Fix a syntax problem in intercept.lua
This commit is contained in:
parent
24d4ab5163
commit
7ecefc5185
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue