summaryrefslogtreecommitdiffstats
path: root/logfiles-controller.lua
diff options
context:
space:
mode:
Diffstat (limited to 'logfiles-controller.lua')
-rw-r--r--logfiles-controller.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/logfiles-controller.lua b/logfiles-controller.lua
index ad8bbe3..3a7900a 100644
--- a/logfiles-controller.lua
+++ b/logfiles-controller.lua
@@ -5,7 +5,7 @@ default_action = "status"
-- Public methods
status = function (self )
- return ({logfile = self.model:get(), url = ENV["SCRIPT_NAME"] .. self.conf.prefix .. self.conf.controller} )
+ return ({logfile = self.model:get(), url = self.conf.script .. self.conf.prefix .. self.conf.controller} )
end
delete = function (self)