Do you have a named parameter called 'controller' ? just a hint ...

On Dec 6, 7:10 pm, Steveston <[EMAIL PROTECTED]> wrote:
> I need to use $params['controller'] in my app. Everything works fine
> except for one controller. It is supposed to be 'users' but it turns
> out to be 'courses'. I did a debug and find its call back route is:
>
> index.php ->
> Dispatch->dispatch ->
> Dispatch->_invoke ->
> Controller->render ->
> ... ...
>
> $params['controller'] was 'users' up to step Dispatch->_invoke
>
> However, it becomes 'courses' from step Controller->render
>
> Any hint on why it happened and how to fix that?
>
> Thanks,
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to