stacktrace. You'll see that AppController is not even used. An
internal redirect happens and ErrorHandler then passes the rendering
to ExceptionRenderer, which in turn invokes Controller directly.
I can't remember what the workaround is supposed to be, though.
On Wed, Apr 18, 2012 at 3:20 PM, creat1v1ty <justin.r.rankin@gmail.com> wrote:
> I am using version 2.1...
>
> In my app I have some logic taking place in my AppController's
> beforeFilter() function where I'm setting a few variables that get used in
> my default layout, and subsequently on all pages of the site.
>
> When testing my error pages in production mode (debug=0), I noticed the
> variables I'm setting in my AppController aren't getting passed to the
> layout, even though the error pages appear to be using the default layout.
>
> Will someone help me figure this out? Thanks!
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscribe@googlegroups.com For more options, visit this group at
> http://groups.google.com/group/cake-php
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment