Hi all, giving CakePHP3 a spin and loving it, but there's something that's
stumped me
In CakePHP2, as far as I can tell, the ErrorController extended
AppController and executed the beforeRender method of the AppController,
ensuring any view variables needed for the layout were set and that Errors
displayed correctly.
In CakePHP3, it seems that the ErrorController no longer extends from
AppController, and thus the beforeRender method of AppController doesn't
get called, but the default template is still used. This leaves a large
amount of variables unset, with no obvious way to set them, as far as I can
tell?
It's likely I'm missing something obvious here, so would greatly appreciate
any help!
Cheers,
Oli
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.