summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dnscache-controller.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/dnscache-controller.lua b/dnscache-controller.lua
index 478f913..0cc4d92 100644
--- a/dnscache-controller.lua
+++ b/dnscache-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