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

This commit is contained in:
FusionPBX
2015-08-10 11:50:29 -06:00
parent 1a29486bcc
commit 2a2dd209df
69 changed files with 507 additions and 294 deletions
@@ -19,8 +19,8 @@
-- the Initial Developer. All Rights Reserved.
--add functions
require "resources.functions.file_exists";
require "resources.functions.trim";
dofile(scripts_dir.."/resources/functions/file_exists.lua");
dofile(scripts_dir.."/resources/functions/trim.lua");
--set the api object
api = freeswitch.API();
@@ -32,7 +32,7 @@
end
--connect to the database
require "resources.functions.database_handle";
dofile(scripts_dir.."/resources/functions/database_handle.lua");
dbh = database_handle('system');
--get the cache
@@ -64,7 +64,7 @@
else
--add the function
require "resources.functions.explode";
dofile(scripts_dir.."/resources/functions/explode.lua");
--parse the cache
array = explode("&", cache);