summaryrefslogtreecommitdiffstats
path: root/postgresql-controller.lua
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2015-10-31 20:33:25 +0000
committerTed Trask <ttrask01@yahoo.com>2015-10-31 20:33:25 +0000
commit8addabae08034da1f6e4ea6059148ecc1ea9d045 (patch)
treedadccbb6d52e563bd1797dcb5d9349fc9eff2ee6 /postgresql-controller.lua
parent15f4736441fa4828f029e8052ef97d733422d7ae (diff)
downloadacf-postgresql-8addabae08034da1f6e4ea6059148ecc1ea9d045.tar.bz2
acf-postgresql-8addabae08034da1f6e4ea6059148ecc1ea9d045.tar.xz
Modify logfile to get logging info from the config and use common view
Diffstat (limited to 'postgresql-controller.lua')
-rw-r--r--postgresql-controller.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/postgresql-controller.lua b/postgresql-controller.lua
index 2b375e8..b2d80c2 100644
--- a/postgresql-controller.lua
+++ b/postgresql-controller.lua
@@ -28,6 +28,10 @@ function mymodule.expert(self)
return self.handle_form(self, function() return self.model.getfiledetails(self.clientdata.filename) end, self.model.updatefiledetails, self.clientdata, "Save", "Edit Postgresql File", "File Saved")
end
+function mymodule.logfile(self)
+ return self.model.get_logfile(self, self.clientdata)
+end
+
-- Use acf-db to allow editing of the database
dbcontrollerfunctions = require("dbcontrollerfunctions")
for n,f in pairs(dbcontrollerfunctions) do