summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2008-05-15 13:51:21 +0000
committerTed Trask <ttrask01@yahoo.com>2008-05-15 13:51:21 +0000
commite57b196f1fd82110fe431d33874bf4879475d69c (patch)
treefe184a0bcc14f5bc05c5c403d3c1d52edd954cf5
parentd567665ff398f46ef766283c3aa557210703e546 (diff)
downloadacf-opennhrp-e57b196f1fd82110fe431d33874bf4879475d69c.tar.bz2
acf-opennhrp-e57b196f1fd82110fe431d33874bf4879475d69c.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/opennhrp/trunk@1120 ab2d0c66-481e-0410-8bed-d214d4d58bed
-rw-r--r--opennhrp-controller.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/opennhrp-controller.lua b/opennhrp-controller.lua
index 2bb03c8..99450d7 100644
--- a/opennhrp-controller.lua
+++ b/opennhrp-controller.lua
@@ -56,7 +56,7 @@ function expert (self)
if ( self.clientdata.cmdsave ) then
modifications = self.model:update_filecontent(modifications)
end
- local url = ENV["SCRIPT_NAME"] .. self.conf.prefix .. self.conf.controller
+ local url = self.conf.script .. self.conf.prefix .. self.conf.controller
-- Start/Stop/Restart process
local cmdmanagement, actionresult