diff options
Diffstat (limited to 'www/cgi-bin/acf')
-rwxr-xr-x | www/cgi-bin/acf | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/www/cgi-bin/acf b/www/cgi-bin/acf new file mode 100755 index 0000000..b52f9e7 --- /dev/null +++ b/www/cgi-bin/acf @@ -0,0 +1,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() +?> |