I can't see how to retrieve the current prefix that is being used for
routing purposes.
For example, if I configure Routing.prefixes as follows:
Configure::write('Routing.prefixes', array('admin','moderator'));
How do I retrieve the current prefix when a page is viewed?
In 1.2 this was Configure::read('Routing.admin');, but I can't seem to
find an equivalent for 1.3.
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en