Change. Use require "resources.functions.config" to load config file.

Change. Move `script_dir` definition into config file.
This commit is contained in:
Alexey Melnichuk
2015-07-22 13:20:51 +04:00
parent a214b57f81
commit 3da348fff0
31 changed files with 75 additions and 104 deletions
@@ -23,7 +23,7 @@
-- Mark J Crane <markjcrane@fusionpbx.com>
--include config.lua
scripts_dir = string.sub(debug.getinfo(1).source,2,string.len(debug.getinfo(1).source)-(string.len(argv[0])+1));
require "resources.functions.config";
--set variables
max_tries = "3";