From 75c86c5c29da5c90820b421753219b520f17852b Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Mon, 8 Jun 2015 14:55:15 -0400 Subject: Update cyberdata and grandstream templates to properly require LuaXml --- config/templates/grandstream-template.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'config/templates/grandstream-template.lua') diff --git a/config/templates/grandstream-template.lua b/config/templates/grandstream-template.lua index cf1e95e..f6957ff 100644 --- a/config/templates/grandstream-template.lua +++ b/config/templates/grandstream-template.lua @@ -1,8 +1,11 @@ + + <% -- Grandstream Configuration File Template local values = ... -require 'LuaXml' +xml = require("LuaXml") + local init_cfg = xml.load("/var/www/provisioning/htdocs/Grandstream/init.cfg") -- @@ -32,8 +35,5 @@ for pg, pg_t in pairs(values) do end end --- init_cfg:save("TEST-grandstream.xml") - -print("\n") print(init_cfg) %> -- cgit v1.2.3