Wednesday, April 18, 2012

Re: Error Pages

That makes sense now that you say it.

Does anyone know how to use the AppController with the error/exception handling?


On Wednesday, April 18, 2012 2:20:30 PM UTC-5, creat1v1ty 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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate