From ea60479930b8d3d4cf1c2197d2594c51119bedfe 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/chrony/trunk@1120 ab2d0c66-481e-0410-8bed-d214d4d58bed --- chrony-controller.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrony-controller.lua b/chrony-controller.lua index 478f913..0cc4d92 100644 --- a/chrony-controller.lua +++ b/chrony-controller.lua @@ -57,7 +57,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