blob: dc5373cfb2a7640b34a119557d8745e0df43132e (
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
<?
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()
?>
|