diff options
author | Ted Trask <ttrask01@yahoo.com> | 2009-12-28 14:13:41 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2009-12-28 14:13:41 +0000 |
commit | a164ef3512aeb64918d0240c8bfe1512d1ff509b (patch) | |
tree | 9ff5492b5b746ee61b4d62f787021dfd2d91a058 | |
parent | 57e4c0ce8a89373c2b29ed17405820e97d7fb080 (diff) | |
download | acf-openvpn-a164ef3512aeb64918d0240c8bfe1512d1ff509b.tar.bz2 acf-openvpn-a164ef3512aeb64918d0240c8bfe1512d1ff509b.tar.xz |
basename function is no longer in acf-core-0.9.0
-rw-r--r-- | openvpn-model.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openvpn-model.lua b/openvpn-model.lua index 177cf6b..b4befce 100644 --- a/openvpn-model.lua +++ b/openvpn-model.lua @@ -195,7 +195,7 @@ end function list_certs() local list = {} for file in fs.find(".*%.pem", baseurl) do - list[#list+1] = basename(file) + list[#list+1] = posix.basename(file) end return cfe({ type="list", value=list, label="OpenVPN Certificates" }) end |