diff options
author | Ted Trask <ttrask01@yahoo.com> | 2013-10-09 20:55:27 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2013-10-09 20:55:27 +0000 |
commit | db68ed71e71fc443d47cea8c9c91b0302e8339ec (patch) | |
tree | 95f6df80def5b4d105b86755fb1e6c3236895042 | |
parent | 5d8563ffe7ebfe596179baebc016ba7fa1905381 (diff) | |
download | acf-kamailio-db68ed71e71fc443d47cea8c9c91b0302e8339ec.tar.bz2 acf-kamailio-db68ed71e71fc443d47cea8c9c91b0302e8339ec.tar.xz |
Change use of require to work with Lua 5.2
-rw-r--r-- | kamailio-listfiles-html.lsp | 2 | ||||
-rw-r--r-- | kamailio-listtables-html.lsp | 2 | ||||
-rw-r--r-- | kamailio-listusers-html.lsp | 2 | ||||
-rw-r--r-- | kamailio-model.lua | 4 | ||||
-rw-r--r-- | kamailio-searchdatabase-html.lsp | 2 | ||||
-rw-r--r-- | kamailio-viewtable-html.lsp | 2 |
6 files changed, 7 insertions, 7 deletions
diff --git a/kamailio-listfiles-html.lsp b/kamailio-listfiles-html.lsp index e99c936..d63398c 100644 --- a/kamailio-listfiles-html.lsp +++ b/kamailio-listfiles-html.lsp @@ -1,5 +1,5 @@ <% local view, viewlibrary, page_info, session = ... -require("htmlviewfunctions") +htmlviewfunctions = require("htmlviewfunctions") html = require("acf.html") %> diff --git a/kamailio-listtables-html.lsp b/kamailio-listtables-html.lsp index fec3ac4..e6f8733 100644 --- a/kamailio-listtables-html.lsp +++ b/kamailio-listtables-html.lsp @@ -1,5 +1,5 @@ <% local form, viewlibrary, page_info, session = ... %> -<% require("htmlviewfunctions") %> +<% htmlviewfunctions = require("htmlviewfunctions") %> <% html = require("acf.html") %> <% htmlviewfunctions.displaycommandresults({"createdatabase"}, session) %> diff --git a/kamailio-listusers-html.lsp b/kamailio-listusers-html.lsp index d5ea4f9..c631716 100644 --- a/kamailio-listusers-html.lsp +++ b/kamailio-listusers-html.lsp @@ -1,5 +1,5 @@ <% local form, viewlibrary, page_info, session = ... %> -<% require("htmlviewfunctions") %> +<% htmlviewfunctions = require("htmlviewfunctions") %> <% html = require("acf.html") %> <% htmlviewfunctions.displaycommandresults({"deleteuser", "updateuser"}, session) %> diff --git a/kamailio-model.lua b/kamailio-model.lua index 2243145..e1fc31e 100644 --- a/kamailio-model.lua +++ b/kamailio-model.lua @@ -1,8 +1,8 @@ module(..., package.seeall) -- Load libraries -require("posix") -require("modelfunctions") +posix = require("posix") +modelfunctions = require("modelfunctions") fs = require("acf.fs") format = require("acf.format") validator = require("acf.validator") diff --git a/kamailio-searchdatabase-html.lsp b/kamailio-searchdatabase-html.lsp index e2538fb..8a55f48 100644 --- a/kamailio-searchdatabase-html.lsp +++ b/kamailio-searchdatabase-html.lsp @@ -1,5 +1,5 @@ <% local form, viewlibrary, page_info = ... -require("htmlviewfunctions") +htmlviewfunctions = require("htmlviewfunctions") html = require("acf.html") %> diff --git a/kamailio-viewtable-html.lsp b/kamailio-viewtable-html.lsp index e1531d0..5e8f83a 100644 --- a/kamailio-viewtable-html.lsp +++ b/kamailio-viewtable-html.lsp @@ -1,5 +1,5 @@ <% local form, viewlibrary, page_info, session = ... %> -<% require("htmlviewfunctions") %> +<% htmlviewfunctions = require("htmlviewfunctions") %> <% html = require("acf.html") %> <% htmlviewfunctions.displaycommandresults({"deletetableentry", "updatetableentry"}, session) %> |