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
commitea60479930b8d3d4cf1c2197d2594c51119bedfe (patch)
tree2b08120568b22ea8b9954b76c05061f1a3e488d2
parent48352101e600979b61a1e01deac05b62fe635ff8 (diff)
downloadacf-chrony-ea60479930b8d3d4cf1c2197d2594c51119bedfe.tar.bz2
acf-chrony-ea60479930b8d3d4cf1c2197d2594c51119bedfe.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/chrony/trunk@1120 ab2d0c66-481e-0410-8bed-d214d4d58bed
-rw-r--r--chrony-controller.lua2
1 files changed, 1 insertions, 1 deletions
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