diff options
author | Ted Trask <ttrask01@yahoo.com> | 2013-10-09 20:57:45 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2013-10-09 20:57:45 +0000 |
commit | f7a4f9e3b07d30b670858ded85ecf8801cb35b5f (patch) | |
tree | 3c4abd236fe549f01e06413299668f5aa89648fc | |
parent | 0dcfbe8f1f740edd733d7945ba667d26d73b0f7d (diff) | |
download | acf-lighttpd-f7a4f9e3b07d30b670858ded85ecf8801cb35b5f.tar.bz2 acf-lighttpd-f7a4f9e3b07d30b670858ded85ecf8801cb35b5f.tar.xz |
Change use of require to work with Lua 5.2
-rw-r--r-- | lighttpd-listfiles-html.lsp | 2 | ||||
-rw-r--r-- | lighttpd-model.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lighttpd-listfiles-html.lsp b/lighttpd-listfiles-html.lsp index 0d2e49f..e2da86b 100644 --- a/lighttpd-listfiles-html.lsp +++ b/lighttpd-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/lighttpd-model.lua b/lighttpd-model.lua index 8ef11bd..32a9b94 100644 --- a/lighttpd-model.lua +++ b/lighttpd-model.lua @@ -1,7 +1,7 @@ module(..., package.seeall) -- Load libraries -require("modelfunctions") +modelfunctions = require("modelfunctions") fs = require("acf.fs") format = require("acf.format") |