Commit 3376bd99 authored by Ted Trask's avatar Ted Trask

Change use of require to work with Lua 5.2

parent 13e12be0
<% local form, viewlibrary, page_info, session = ...
require("htmlviewfunctions")
htmlviewfunctions = require("htmlviewfunctions")
%>
<% if viewlibrary and viewlibrary.dispatch_component then
......
<% local data, viewlibrary, page_info, session = ...
require("htmlviewfunctions")
htmlviewfunctions = require("htmlviewfunctions")
html = require("acf.html")
%>
......
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")
......
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