summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lighttpd-model.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/lighttpd-model.lua b/lighttpd-model.lua
index ca77c64..8ef11bd 100644
--- a/lighttpd-model.lua
+++ b/lighttpd-model.lua
@@ -18,11 +18,11 @@ local path = "PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
-- ################################################################################
-- PUBLIC FUNCTIONS
-function get_startstop(clientdata)
+function get_startstop(self, clientdata)
return modelfunctions.get_startstop(processname)
end
-function startstop_service(startstop, action)
+function startstop_service(self, startstop, action)
return modelfunctions.startstop_service(startstop, action)
end
@@ -47,8 +47,8 @@ function getfiledetails(filename)
return modelfunctions.getfiledetails(filename, filelist)
end
-function updatefiledetails(filedetails)
- return modelfunctions.setfiledetails(filedetails, filelist)
+function updatefiledetails(self, filedetails)
+ return modelfunctions.setfiledetails(self, filedetails, filelist)
end
function getlogfile ()