I’ve been using hooks for a long time now, but I’ve decided to try the Filters System because it seems to be a better approach to accomplish some basic routines.
Unfortunately there is a bug in the system, when you try to apply a filter to a controller placed withing a directory it won’t trigger. I went over the code and find out that the way it handles the matches is where the problem resides, it is exploding the match by the ’/’ on in, so CI thinks it is a class instead of a directory.
As an example, if i want to apply a filter to “admin/login” where admin is the directory and login the class name it won’t work.
Any ideas on a better implementation of it?
