Re: $params['controller'] changes after Dispatcher-_invoke method, why?

2007-12-06 Thread francky06l
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

$params['controller'] changes after Dispatcher-_invoke method, why?

2007-12-06 Thread Steveston
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 - ... ...

Re: $params['controller'] changes after Dispatcher-_invoke method, why?

2007-12-06 Thread AD7six
On Dec 6, 7:10 pm, Steveston [EMAIL PROTECTED] wrote: I need to use $params['controller'] in my app. Why. What's wrong with $this-name? AD --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post