From 6eae1a0103a3d12dee4bc8753efee88af203dff3 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Sat, 17 May 2008 10:00:44 +0000 Subject: * Generalized dispatcher handling --- applications/sgi-webuci/src/sgi/webuci.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'applications/sgi-webuci') diff --git a/applications/sgi-webuci/src/sgi/webuci.lua b/applications/sgi-webuci/src/sgi/webuci.lua index d3d4cd4dc2..f05fd2b0d5 100644 --- a/applications/sgi-webuci/src/sgi/webuci.lua +++ b/applications/sgi-webuci/src/sgi/webuci.lua @@ -31,6 +31,16 @@ ffluci.http.env = webuci.env local status_set = false +-- Returns the main dispatcher URL +function ffluci.http.dispatcher() + return ffluci.http.env.SCRIPT_NAME or "" +end + +-- Returns the upload dispatcher URL +function ffluci.http.dispatcher_upload() + -- To be implemented +end + -- Returns a table of all COOKIE, GET and POST Parameters function ffluci.http.formvalues() return webuci.vars -- cgit v1.2.3