summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--health-controller.lua8
-rw-r--r--template-logfiles-download-html.lsp2
2 files changed, 8 insertions, 2 deletions
diff --git a/health-controller.lua b/health-controller.lua
index 2ce32d4..a6f18b2 100644
--- a/health-controller.lua
+++ b/health-controller.lua
@@ -1,5 +1,5 @@
module (..., package.seeall)
-
+--[[
local list_redir = function (self)
self.conf.action = "system"
self.conf.type = "redir"
@@ -12,6 +12,12 @@ mvc.on_load = function(self, parent)
self.worker[self.conf.action] = list_redir(self)
end
end
+--]]
+mvc={}
+mvc.on_load = function(self, parent)
+ --self.worker[self.conf.default_action] = "system"
+ self.conf.default_action = "system"
+end
-- Public methods
diff --git a/template-logfiles-download-html.lsp b/template-logfiles-download-html.lsp
index d5d3ec3..02c3e78 100644
--- a/template-logfiles-download-html.lsp
+++ b/template-logfiles-download-html.lsp
@@ -1,4 +1,4 @@
-<? local pageinfo , mainmenu, submenu, viewtable, session = ...
+<? local pageinfo , viewtable, session = ...
html=require("html") ?>
Status: 200 OK
Content-Type: application/octet-stream