summaryrefslogtreecommitdiffstats
path: root/www/cgi-bin/acf
diff options
context:
space:
mode:
Diffstat (limited to 'www/cgi-bin/acf')
-rwxr-xr-xwww/cgi-bin/acf19
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()
+?>