diff options
-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) %> |