summaryrefslogtreecommitdiffstats
path: root/www/cgi-bin/acf
blob: b52f9e7e5ada0a3ee3a6dffe4f073ced5d6c2f84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/haserl --shell=lua -a
<? 
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()
?>