I call $this->controller->beforeFilter() and $this->controller-
>beforeRender() in AppError manually. Don't know is it right way, but
it works.

On Jan 12, 9:08 am, Mark <mnbaya...@gmail.com> wrote:
> It seems as though AppController is not included when there is an
> error. Is there any way to change this behavior? Most notably, I need
> the Auth component to be included.
>
> I'm trying to add my own AppError class, but it needs to extend
> ErrorHandler, so I don't know how to get it to include AppController.
>
> Any help would be much appreciated.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to