diff options
author | Ted Trask <ttrask01@yahoo.com> | 2009-12-21 16:46:20 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2009-12-21 16:46:20 +0000 |
commit | 4ebeb9d3bc2f123f93338bcc8b15ef1723d4eb35 (patch) | |
tree | c6eeb6038a2dfb3b6dbbae2dbd96852e9653755c /lib/menubuilder.lua | |
parent | b5b8c138deb5d4b4216c9186e3d528792edc70b2 (diff) | |
download | acf-core-4ebeb9d3bc2f123f93338bcc8b15ef1723d4eb35.tar.bz2 acf-core-4ebeb9d3bc2f123f93338bcc8b15ef1723d4eb35.tar.xz |
Modified permissions from controller:action to prefix/controller/action.
Had to move welcome to the acf-util prefix.
Changed format of roles files: old ACF format will still work, but authenticator format won't.
Diffstat (limited to 'lib/menubuilder.lua')
-rw-r--r-- | lib/menubuilder.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/menubuilder.lua b/lib/menubuilder.lua index 5b9509b..975c31a 100644 --- a/lib/menubuilder.lua +++ b/lib/menubuilder.lua @@ -64,7 +64,7 @@ get_menuitems = function (startdir) startdir = (string.gsub(startdir, "/$", "")) --remove trailing / for k,filename in pairs(get_candidates(startdir)) do local controller = mvc.basename(filename, ".menu") - local prefix = (string.gsub(mvc.dirname(filename), startdir, "")) + local prefix = (string.gsub(mvc.dirname(filename), startdir, "")).."/" -- open the menu file, and parse the contents local handle = io.open(filename) |