Revert "Change. Use require "resources.functions.config" to load config file."
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user