diff options
author | Ted Trask <ttrask01@yahoo.com> | 2013-10-09 21:03:54 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2013-10-09 21:03:54 +0000 |
commit | 115b99fc436af8e5fe342c97c08755ee175105d4 (patch) | |
tree | b85714518d84f9e75c2f4a701cb81cf295770130 | |
parent | 2c4e8ae5ddaf1a65f7a2e6520b35528aa0b13ae9 (diff) | |
download | acf-postfix-115b99fc436af8e5fe342c97c08755ee175105d4.tar.bz2 acf-postfix-115b99fc436af8e5fe342c97c08755ee175105d4.tar.xz |
Change use of require to work with Lua 5.2
-rw-r--r-- | postfix-details-html.lsp | 2 | ||||
-rw-r--r-- | postfix-listfiles-html.lsp | 2 | ||||
-rw-r--r-- | postfix-listqueue-html.lsp | 2 | ||||
-rw-r--r-- | postfix-model.lua | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/postfix-details-html.lsp b/postfix-details-html.lsp index 905a057..778a3bf 100644 --- a/postfix-details-html.lsp +++ b/postfix-details-html.lsp @@ -1,5 +1,5 @@ <% local data, viewlibrary = ... -require("htmlviewfunctions") +htmlviewfunctions = require("htmlviewfunctions") html = require("acf.html") %> diff --git a/postfix-listfiles-html.lsp b/postfix-listfiles-html.lsp index f1d8671..8127202 100644 --- a/postfix-listfiles-html.lsp +++ b/postfix-listfiles-html.lsp @@ -1,5 +1,5 @@ <% local data, viewlibrary, page_info, session = ... -require("htmlviewfunctions") +htmlviewfunctions = require("htmlviewfunctions") html = require("acf.html") %> diff --git a/postfix-listqueue-html.lsp b/postfix-listqueue-html.lsp index 4ea9011..6e09ee0 100644 --- a/postfix-listqueue-html.lsp +++ b/postfix-listqueue-html.lsp @@ -1,5 +1,5 @@ <% local data, viewlibrary, page_info, session = ... -require("htmlviewfunctions") +htmlviewfunctions = require("htmlviewfunctions") html = require("acf.html") %> diff --git a/postfix-model.lua b/postfix-model.lua index a932b05..2b01b35 100644 --- a/postfix-model.lua +++ b/postfix-model.lua @@ -1,8 +1,8 @@ module(..., package.seeall) -- Load libraries -require("modelfunctions") -require("posix") +modelfunctions = require("modelfunctions") +posix = require("posix") fs = require("acf.fs") format = require("acf.format") validator = require("acf.validator") |