summaryrefslogtreecommitdiffstats
path: root/www/cgi-bin/acf
blob: dfefb34637b7230ea2ec76c935d0b39f4cdf178a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/haserl --shell=lua --upload-limit=32
<% 
require("mvc")

-- create a new container
FRAMEWORK=mvc:new()

-- set the configuration parameters
-- This loads the container with the config info
-- but does not load the application worker/model 
FRAMEWORK:read_config("acf")

-- Create an application container -
-- loads the application controller/model code
APP=FRAMEWORK:new("acf_www")

-- Dispatch the application
APP:dispatch()
APP:destroy()
FRAMEWORK:destroy()
%>