Commit 1d8f30e8 authored by Ted Trask's avatar Ted Trask

Change use of require to work with Lua 5.2

parent 8234ed21
<% local view, viewlibrary, page_info, session = ... %>
<% require("htmlviewfunctions") %>
<% htmlviewfunctions = require("htmlviewfunctions") %>
<% html = require("acf.html") %>
<% htmlviewfunctions.displaycommandresults({"editconfig", "editentry", "deleteentry", "createentry"}, session) %>
......
<% local data, viewlibrary, page_info, session = ...
require("htmlviewfunctions")
htmlviewfunctions = require("htmlviewfunctions")
html = require("acf.html")
%>
......
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")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment