Merge pull request #1053 from moteus/require_config

Change. Use `require "resources.functions.config"` to load config file.
This commit is contained in:
FusionPBX
2015-08-10 11:31:35 -06:00
69 changed files with 294 additions and 507 deletions

View File

@@ -2,10 +2,8 @@
--debug
debug["sql"] = false;
--define trim
function trim (s)
return (string.gsub(s, "^%s*(.-)%s*$", "%1"))
end
--define the trim function
require "resources.functions.trim";
--get the domain_uuid
if (domain_uuid == nil) then