diff options
author | Ted Trask <ttrask01@yahoo.com> | 2009-12-28 11:37:25 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2009-12-28 11:37:25 +0000 |
commit | b19b44c100ad4ed2c3f807f118555193789a668d (patch) | |
tree | 8190a0400ab2ae2a44fe1f6c60930a6b80fbbdc8 /logfiles-controller.lua | |
parent | 8b4476e4401243d43e110b7dcaeb986ded780ee0 (diff) | |
download | acf-alpine-baselayout-b19b44c100ad4ed2c3f807f118555193789a668d.tar.bz2 acf-alpine-baselayout-b19b44c100ad4ed2c3f807f118555193789a668d.tar.xz |
basename function is no longer in acf-core-0.9.0
Diffstat (limited to 'logfiles-controller.lua')
-rw-r--r-- | logfiles-controller.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/logfiles-controller.lua b/logfiles-controller.lua index 58fb0f0..3c50f3a 100644 --- a/logfiles-controller.lua +++ b/logfiles-controller.lua @@ -1,4 +1,5 @@ module (..., package.seeall) +require("posix") default_action = "status" @@ -19,7 +20,7 @@ end download = function (self) local filestatus = view(self) local filecontent = filestatus.value.filecontent - filecontent.label = basename(filestatus.value.filename.value) + filecontent.label = posix.basename(filestatus.value.filename.value) self.conf.viewtype = "stream" return filecontent |