Ok I think I know how can I use controller, plugin and action but it
not fix my problem.
My problem is I don't know what is current controller,plugin or
action. I want to know current controller,plugin or action in file
routes.php to check and do something besides the routing.Such as
include
routes.php is called BEFORE actual routing so there is no any URL
parse info on this step. Looks like you choosed wrong place to do what
do you need.
On Sep 17, 2:15 pm, enjoyman i.am.the.king.of.the.h...@gmail.com
wrote:
Ok I think I know how can I use controller, plugin and action but it
not
Ahhh I think no.
Ok if my url is : http://localhost/[cake]/[app]/abc
how can I got abc value in routes.php
Thank you very much.
On Sep 17, 5:00 pm, Dr. Loboto drlob...@gmail.com wrote:
routes.php is called BEFORE actual routing so there is no any URL
parse info on this step. Looks like you
I want to do something in routes.php but now I don't know what plugin
or what controller for now.
If my url is : http://localhost /[cakephp] /[APP] /abc I need to get
abc as my now position, how can I do that?
another problem is : I dont know if controller name same plugin name ,
if I access my
If the names conflict the plugin has precedence.
I thinks these are right:
/abcs =
1. index on abcs controller in abcs plugin (aka the pluginname
controller)
2. index on abcs controller in app
/abcs/cba =
1. index on cba controller in abcs plugin
2. cba on abcs controller in abcs plugin (aka