diff options
author | Ted Trask <ttrask01@yahoo.com> | 2008-05-15 13:51:21 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2008-05-15 13:51:21 +0000 |
commit | 7d9b0d93dd7c3dee3acd4da629b4f519eafe0f7b (patch) | |
tree | b53bc377319db5d7384416e7b25a12ae4074273e /health-controller.lua | |
parent | 4b9f0125157633ed5b75ca7e9c4d28d85f974847 (diff) | |
download | acf-alpine-baselayout-7d9b0d93dd7c3dee3acd4da629b4f519eafe0f7b.tar.bz2 acf-alpine-baselayout-7d9b0d93dd7c3dee3acd4da629b4f519eafe0f7b.tar.xz |
Replaced references to ENV[SCRIPT_NAME] with self.conf.script.
Logon link no longer forced to be https.
git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@1120 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'health-controller.lua')
-rw-r--r-- | health-controller.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/health-controller.lua b/health-controller.lua index fb7d4fb..72838e1 100644 --- a/health-controller.lua +++ b/health-controller.lua @@ -5,21 +5,21 @@ default_action = "system" -- Public methods system = function (self ) - return ({system = self.model:get_system(), url = ENV["SCRIPT_NAME"] .. self.conf.prefix .. self.conf.controller} ) + return ({system = self.model:get_system(), url = self.conf.script .. self.conf.prefix .. self.conf.controller} ) end storage = function (self ) - return ({storage = self.model:get_storage(), url = ENV["SCRIPT_NAME"] .. self.conf.prefix .. self.conf.controller} ) + return ({storage = self.model:get_storage(), url = self.conf.script .. self.conf.prefix .. self.conf.controller} ) end network = function (self ) - return ({network = self.model:get_network(), url = ENV["SCRIPT_NAME"] .. self.conf.prefix .. self.conf.controller} ) + return ({network = self.model:get_network(), url = self.conf.script .. self.conf.prefix .. self.conf.controller} ) end modules = function (self ) - return ({modules = self.model:get_modules(), url = ENV["SCRIPT_NAME"] .. self.conf.prefix .. self.conf.controller} ) + return ({modules = self.model:get_modules(), url = self.conf.script .. self.conf.prefix .. self.conf.controller} ) end proc = function (self ) - return ({proc = self.model:get_proc(), url = ENV["SCRIPT_NAME"] .. self.conf.prefix .. self.conf.controller} ) + return ({proc = self.model:get_proc(), url = self.conf.script .. self.conf.prefix .. self.conf.controller} ) end |