Make the lua scripts that use config.lua to use the new config function.
This commit is contained in:
@@ -25,7 +25,8 @@
|
||||
|
||||
--include the lua script
|
||||
scripts_dir = string.sub(debug.getinfo(1).source,2,string.len(debug.getinfo(1).source)-(string.len(argv[0])+1));
|
||||
dofile(scripts_dir .. "/resources/config.lua");
|
||||
dofile(scripts_dir.."/resources/functions/config.lua");
|
||||
dofile(config());
|
||||
|
||||
--define general settings
|
||||
tmp_file = "/usr/local/freeswitch/log/mwi.tmp";
|
||||
|
||||
@@ -30,9 +30,9 @@
|
||||
expire["sofia.conf"] = "3600";
|
||||
|
||||
--set the debug options
|
||||
debug["params"] = true;
|
||||
debug["params"] = false;
|
||||
debug["sql"] = false;
|
||||
debug["xml_request"] = true;
|
||||
debug["xml_request"] = false;
|
||||
debug["xml_string"] = false;
|
||||
debug["cache"] = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user