Commit 42aaaede authored by Ted Trask's avatar Ted Trask

Change use of require to work with Lua 5.2

parent 99fe028c
-- Copy of authenticator-plaintext, plus added authentication from voicemail DB
module (..., package.seeall)
require("md5")
md5 = require("md5")
list_fields = function(self, tabl)
return nil
......
<% local view, viewlibrary, page_info, session = ...
require("htmlviewfunctions")
htmlviewfunctions = require("htmlviewfunctions")
html = require("acf.html")
%>
......
<% local view, 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")
db = require("acf.db")
require("session")
session = require("session")
-- Set variables
local configfile = "/etc/freeswitchvmail.conf"
......
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