From e57b196f1fd82110fe431d33874bf4879475d69c 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/opennhrp/trunk@1120 ab2d0c66-481e-0410-8bed-d214d4d58bed --- opennhrp-controller.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'opennhrp-controller.lua') 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 -- cgit v1.2.3