summaryrefslogtreecommitdiffstats
path: root/lib/roles.lua
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2009-12-28 10:32:40 +0000
committerTed Trask <ttrask01@yahoo.com>2009-12-28 10:32:40 +0000
commit2678d43e1f155b2b692c729bb0470967072a8d58 (patch)
tree3eb10f930770897e028bac3079d7eb46e5a481c8 /lib/roles.lua
parentbd7a0266eb07cb8859fa7518f0000ef0240923d6 (diff)
downloadacf-core-2678d43e1f155b2b692c729bb0470967072a8d58.tar.bz2
acf-core-2678d43e1f155b2b692c729bb0470967072a8d58.tar.xz
Removed redundant/buggy basename and dirname functions. Added parse_redir_string to www controller.
Removed basename and dirname from mvc and fs, use posix functions instead. parse_path_info was buggy and used 2 ways, rewrote and created parse_redir_string for backwards parsing.
Diffstat (limited to 'lib/roles.lua')
-rw-r--r--lib/roles.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/roles.lua b/lib/roles.lua
index 9d89f0c..f38ce6a 100644
--- a/lib/roles.lua
+++ b/lib/roles.lua
@@ -170,7 +170,7 @@ local determine_perms = function(self,roles)
if reverseroles[entry.id] then
temp = format.string_to_table(entry.entry, ",")
for z,perm in pairs(temp) do
- local prefix,control,action = mvc.parse_path_info(perm)
+ local prefix,control,action = self.parse_path_info(perm)
if control then
if nil == permissions[prefix] then
permissions[prefix] = {}