summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2013-10-09 21:13:15 +0000
committerTed Trask <ttrask01@yahoo.com>2013-10-09 21:13:15 +0000
commitca053fbdd3dc497dd4ecbee8607ffe44ea1d50a4 (patch)
treeb011c1c1316b514715ce24390be5349754d68a38
parenta2d1429e99ca3f50caf97e4ccf75816f57f1c38c (diff)
downloadacf-shorewall-ca053fbdd3dc497dd4ecbee8607ffe44ea1d50a4.tar.bz2
acf-shorewall-ca053fbdd3dc497dd4ecbee8607ffe44ea1d50a4.tar.xz
Change use of require to work with Lua 5.2
-rw-r--r--shorewall-listfiles-html.lsp2
-rw-r--r--shorewall-model.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/shorewall-listfiles-html.lsp b/shorewall-listfiles-html.lsp
index dd8c2a2..0183582 100644
--- a/shorewall-listfiles-html.lsp
+++ b/shorewall-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/shorewall-model.lua b/shorewall-model.lua
index ca70e89..765157a 100644
--- a/shorewall-model.lua
+++ b/shorewall-model.lua
@@ -1,7 +1,7 @@
module(..., package.seeall)
-- Load libraries
-require("modelfunctions")
+modelfunctions = require("modelfunctions")
fs = require("acf.fs")
format = require("acf.format")