From bf61ae0a6bc31a55408df489cc14c5ba27a2034a Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Thu, 15 May 2008 13:51:21 +0000 Subject: 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/devtools/trunk@1120 ab2d0c66-481e-0410-8bed-d214d4d58bed --- acfupdate-controller.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'acfupdate-controller.lua') diff --git a/acfupdate-controller.lua b/acfupdate-controller.lua index df8fdf5..4e88f7a 100644 --- a/acfupdate-controller.lua +++ b/acfupdate-controller.lua @@ -7,30 +7,30 @@ default_action = "read" function read (self ) return ({projects = self.model:get(), - url = ENV["SCRIPT_NAME"] .. self.conf.prefix .. self.conf.controller} ) + url = self.conf.script .. self.conf.prefix .. self.conf.controller} ) end function update (self ) return ({projects = self.model:get(), updates = self.model:update(), - url = ENV["SCRIPT_NAME"] .. self.conf.prefix .. self.conf.controller} ) + url = self.conf.script .. self.conf.prefix .. self.conf.controller} ) end function diff (self ) return ({projects = self.model:get(), updates = self.model:diffs(), - url = ENV["SCRIPT_NAME"] .. self.conf.prefix .. self.conf.controller} ) + url = self.conf.script .. self.conf.prefix .. self.conf.controller} ) end function status (self ) return ({projects = self.model:get(), updates = self.model:status(), - url = ENV["SCRIPT_NAME"] .. self.conf.prefix .. self.conf.controller} ) + url = self.conf.script .. self.conf.prefix .. self.conf.controller} ) end function log (self ) return ({projects = self.model:get(), updates = self.model:log(), - url = ENV["SCRIPT_NAME"] .. self.conf.prefix .. self.conf.controller} ) + url = self.conf.script .. self.conf.prefix .. self.conf.controller} ) end -- cgit v1.2.3