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 | bf61ae0a6bc31a55408df489cc14c5ba27a2034a (patch) | |
tree | a148f84d00e29896a27cdba3acf7d0d1ad23bc23 | |
parent | 0b1f7f0937b6915ed111a9c3eb71e769fb23410a (diff) | |
download | acf-devtools-bf61ae0a6bc31a55408df489cc14c5ba27a2034a.tar.bz2 acf-devtools-bf61ae0a6bc31a55408df489cc14c5ba27a2034a.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/devtools/trunk@1120 ab2d0c66-481e-0410-8bed-d214d4d58bed
-rw-r--r-- | acfupdate-controller.lua | 10 |
1 files changed, 5 insertions, 5 deletions
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 |