diff options
-rw-r--r-- | dnscache-config-html.lsp | 2 | ||||
-rw-r--r-- | dnscache-listdomains-html.lsp | 2 | ||||
-rw-r--r-- | dnscache-model.lua | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/dnscache-config-html.lsp b/dnscache-config-html.lsp index c5234ca..f29644c 100644 --- a/dnscache-config-html.lsp +++ b/dnscache-config-html.lsp @@ -1,5 +1,5 @@ <% local form, viewlibrary, page_info, session = ... -require("htmlviewfunctions") +htmlviewfunctions = require("htmlviewfunctions") %> <% if viewlibrary and viewlibrary.dispatch_component then diff --git a/dnscache-listdomains-html.lsp b/dnscache-listdomains-html.lsp index ea4c350..a28519e 100644 --- a/dnscache-listdomains-html.lsp +++ b/dnscache-listdomains-html.lsp @@ -1,5 +1,5 @@ <% local data, viewlibrary, page_info, session = ... -require("htmlviewfunctions") +htmlviewfunctions = require("htmlviewfunctions") html = require("acf.html") %> diff --git a/dnscache-model.lua b/dnscache-model.lua index 7a028a4..192e04c 100644 --- a/dnscache-model.lua +++ b/dnscache-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") |